@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

:root {
    --primary-blue: #1E3A8A;
    --primary-blue-hover: #1E40AF;
    --accent-orange: #F97316;
    --accent-orange-hover: #EA580C;
    --text-dark: #1F2937;
    --bg-white: #FFFFFF;
    --light-gray: #F8FAFC;
    --bs-gray-100: #f5f5f5;
    --bs-gray-200: #e5e5e5;
    --bs-gray-300: #d4d4d4;
    --bs-gray-400: #a3a3a3;
    --bs-gray-500: #737373;
    --bs-gray-600: #525252;
    --bs-gray-700: #404040;
    --bs-gray-800: #262626;
    --bs-gray-900: #171717;
    --bs-body-font-size: 0.875rem;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.5;
    font-size: var(--bs-body-font-size);
}

a {
    color: var(--app-black-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-blue);
}

a,
a:hover {
    transition: all 0.5s ease-in-out;
}

.link-app-blue {
    color: var(--primary-blue);
}

.link-app-blue:hover {
    color: var(--app-black-color);
}

.link-app-white {
    color: var(--light-gray);
}

.link-app-white:hover {
    color: var(--accent-orange);
}

.btn-app-blue {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: var(--light-gray) !important;
    font-weight: 500;
    transition: all 0.5s ease-in-out;
}

.btn-app-blue:hover,
.btn-app-blue:focus,
.btn-app-blue:active {
    background-color: var(--primary-blue-hover) !important;
    border-color: var(--primary-blue) !important;
    color: var(--light-gray) !important;
}

.btn-outline-app-blue {
    background-color: transparent !important;
    border-color: var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    font-weight: 500;
    transition: all 0.5s ease-in-out;
}

.btn-outline-app-blue:hover,
.btn-outline-app-blue:focus,
.btn-outline-app-blue:active {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #fff !important;
}

.btn-outline-app-white {
    background-color: transparent !important;
    border-color: var(--light-gray) !important;
    color: var(--light-gray) !important;
    font-weight: 500;
    transition: all 0.5s ease-in-out;
}

.btn-outline-app-white:hover,
.btn-outline-app-white:focus,
.btn-outline-app-white:active {
    background-color: var(--light-gray) !important;
    border-color: var(--light-gray) !important;
    color: var(--primary-blue) !important;
}

.btn-app-orange {
    background-color: var(--accent-orange) !important;
    border-color: var(--accent-orange) !important;
    color: white !important;
    font-weight: 500;
    transition: all 0.5s ease-in-out;
}

.btn-app-orange:hover,
.btn-app-orange:focus,
.btn-app-orange:active {
    background-color: var(--accent-orange-hover) !important;
    border-color: var(--accent-orange-hover) !important;
}

.btn-outline-app-orange {
    background-color: transparent !important;
    border-color: var(--accent-orange) !important;
    color: var(--accent-orange) !important;
    font-weight: 500;
    transition: all 0.5s ease-in-out;
}

.btn-outline-app-orange:hover,
.btn-outline-app-orange:focus,
.btn-outline-app-orange:active {
    background-color: var(--accent-orange) !important;
    border-color: var(--accent-orange) !important;
    color: #fff !important;
}

.bg-app-blue {
    background-color: var(--primary-blue);
}

.alert-box {
    opacity: 0;
    z-index: 999999 !important;
    transform: translateX(120%);
    transition: all 1s ease-in-out;
}

.text-app-blue {
    color: var(--primary-blue);
}

.text-justify {
    text-align: justify !important;
}

.form-label.required::after {
    content: " *";
    color: #b70000;
}

.custom-phone-field .iti {
    display: block;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3B82F6 100%);
    color: white;
    padding: 100px 0;
}

.feature-card {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.stats-section {
    background-color: var(--light-gray);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.security-badge {
    background-color: #10B981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

footer {
    background-color: var(--text-dark);
    color: var(--light-gray) !important;
}

.search-highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .stat-number {
        font-size: 2rem;
    }
}


/* LOCATION AUTOCOMPLETE STYLES */
/* public/css/location-autocomplete.css */
.location-field .form-widget,
.city-autocomplete-input .form-widget {
    position: relative;
}

.search-loader {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.suggestions-dropdown.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f8f9fa;
}

.suggestion-item:active {
    background-color: #e9ecef;
}

.suggestion-main {
    display: flex;
    align-items: start;
    gap: 10px;
}

.suggestion-icon {
    font-size: 1.2rem;
    color: #1E3A8A;
    margin-top: 2px;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.suggestion-address {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.suggestion-meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #868e96;
}

.suggestion-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.no-results {
    padding: 16px;
    text-align: center;
    color: #6c757d;
}

/* Animation d'apparition */
.suggestions-dropdown {
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .suggestions-dropdown {
        max-height: 300px;
    }

    .suggestion-item {
        padding: 10px 12px;
    }
}

/* Indicateur de progression */
.declare-loss-pagination .step-number-container {
    width: 70%;
    min-width: 30%;
}

.declare-loss-pagination .step-number-container .step-number {
    background-color: var(--bs-gray-300);
    border-radius: 50%;
    padding: 10px;
    width: 25px;
    height: 25px;
    text-align: center;
    color: var(--bs-gray-500);
}

.declare-loss-pagination .step-number-container .step-number.active {
    background-color: var(--primary-blue);
    color: var(--light-gray);
    font-weight: 600;
}

.declare-loss-pagination .step-number-container .bar {
    width: 100%;
    min-width: 30%;
    height: 2px;
    background-color: var(--bs-gray-300);
}

.declare-loss-pagination .step-number-container .bar.active {
    background-color: var(--primary-blue);
}

.declare-loss-pagination .step-title-container {
    width: 100%;
}

.declare-loss-pagination .step-title-container .step-title {
    width: 25px;
    flex-grow: 1;
    color: var(--bs-gray-500);
}

.declare-loss-pagination .step-title-container .step-title.active {
    color: var(--primary-blue);
}

.declare-loss-pagination .step-number.completed {
    background: #10B981;
    color: white;
}

/* Étapes du formulaire */
.form-step {
    display: none;
    animation: fadeIn 0.3s;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* DECLARE LOSS SUCCESS PAGE STYLE */

.success-icon i {
    filter: drop-shadow(0 4px 6px rgba(25, 135, 84, 0.3));
}

.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}