/* Store Locator Frontend Styles */

.hr-storelocator-container {
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hr-storelocator-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    text-align: center;
}

.hr-storelocator-search {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hr-storelocator-search input {
    padding: 12px 15px;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.hr-storelocator-search input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.hr-storelocator-search button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hr-storelocator-search button:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

.hr-storelocator-search button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#hr-use-location-btn {
    padding: 12px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#hr-use-location-btn:hover {
    background: #218838;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

#hr-use-location-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hr-store-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hr-store-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.hr-store-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.hr-store-item h3 {
    margin: 0 0 15px 0;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
}

.hr-store-item p {
    margin: 10px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.hr-store-item p strong {
    color: #1a1a1a;
    font-weight: 600;
}

.hr-store-item .store-phone,
.hr-store-item .store-email,
.hr-store-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hr-store-item .store-phone:hover,
.hr-store-item .store-email:hover,
.hr-store-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    grid-column: 1 / -1;
}

.hr-notification {
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hr-notification-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hr-notification-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.hr-notification-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hr-storelocator-container {
        padding: 20px;
    }

    .hr-storelocator-title {
        font-size: 22px;
    }

    .hr-storelocator-search {
        flex-direction: column;
    }

    .hr-storelocator-search input,
    .hr-storelocator-search button {
        width: 100%;
        max-width: none;
    }

    .hr-store-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hr-storelocator-title {
        font-size: 18px;
    }

    .hr-store-item {
        padding: 15px;
    }

    .hr-store-item h3 {
        font-size: 16px;
    }

    .hr-store-item p {
        font-size: 13px;
    }
}
