/* Global Styles */
* {
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

body {
    padding-bottom: 0;
    background:
        radial-gradient(900px 400px at 10% 10%, rgba(220,38,38,0.32) 0%, rgba(220,38,38,0) 60%),
        radial-gradient(700px 360px at 90% 0%, rgba(239,68,68,0.20) 0%, rgba(239,68,68,0) 55%),
        linear-gradient(180deg, #0f1018 0%, #07070c 100%);
    color: rgba(255,255,255,0.92);
}


/* Header Styles */
.header {
    background: rgba(7, 7, 12, 0.78);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}


.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: #dc2626;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #dc2626;
}

.header-right {
    display: flex;
    gap: 12px;
}

/* Profile Dropdown */
.user-profile-dropdown {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.profile-btn:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220,38,38,0.15);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.profile-name {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.profile-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e5e7eb;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

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

.dropdown-item:hover {
    background: #f9fafb;
    color: #dc2626;
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: #fef2f2;
}

.btn {
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #dc2626;
    color: white;
}

.btn-primary:hover {
    background-color: #b91c1c;
}

.btn-outline {
    background-color: transparent;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.btn-outline:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero Section */
.hero-section {
    padding: 74px 24px 52px;
    background:
        radial-gradient(900px 520px at 12% 10%, rgba(220,38,38,0.40) 0%, rgba(220,38,38,0) 60%),
        radial-gradient(700px 420px at 88% 0%, rgba(239,68,68,0.26) 0%, rgba(239,68,68,0) 55%),
        radial-gradient(600px 320px at 55% 90%, rgba(220,38,38,0.14) 0%, rgba(220,38,38,0) 60%),
        linear-gradient(180deg, rgba(15,16,24,1) 0%, rgba(7,7,12,1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 7px);
    opacity: 0.10;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    margin-bottom: 40px;
}

.hero-text h1 {
    font-size: 44px;
    font-weight: 800;
    color: rgba(255,255,255,0.96);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.72);
}


/* Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    box-shadow:
        0 30px 120px -70px rgba(0,0,0,0.95),
        0 0 0 1px rgba(220, 38, 38, 0.10);
    padding: 22px;
    backdrop-filter: blur(14px);
}



.search-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    font-size: 15px;
    outline: none;
    color: rgba(255,255,255,0.92);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.45);
}

.search-input:focus {
    border-color: rgba(220,38,38,0.7);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    transform: translateY(-1px);
}

.date-field {
    display: grid;
    grid-template-columns: 42px minmax(145px, 1fr) 42px;
    align-items: center;
    overflow: hidden;
    min-width: 250px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
}

.date-field > .field-icon { display: none; }

.date-field .date-input {
    min-width: 0;
    padding: 16px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color-scheme: dark;
    cursor: pointer;
}

.date-field .date-input:focus { transform: none; box-shadow: none; }

.date-nav-btn {
    width: 100%;
    height: 100%;
    min-height: 52px;
    align-self: stretch;
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    line-height: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.date-nav-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

.date-nav-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .10); }
.date-nav-btn:disabled { opacity: .3; cursor: not-allowed; }



.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #dc2626;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: #b91c1c;
}

/* Period Selection */
.period-selection {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.period-label {
    font-size: 14px;
    color: rgba(255,255,255,0.70);
    margin-bottom: 12px;
    display: block;
}


.period-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.period-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.80);
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.period-tag:hover {
    border-color: rgba(220,38,38,0.55);
    color: rgba(255,255,255,0.95);
    transform: translateY(-1px);
}

.period-tag.active {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border-color: rgba(220,38,38,0.85);
    box-shadow: 0 18px 55px -35px rgba(220,38,38,0.85);
}


/* Specialties Section */
.specialties-section {
    margin-top: 32px;
    text-align: center;
}

.specialties-label {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
}

.specialties-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.specialty-tag {
    padding: 10px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.specialty-tag:hover {
    border-color: rgba(220,38,38,0.65);
    color: rgba(255,255,255,0.98);
    background: rgba(220,38,38,0.18);
    transform: translateY(-1px);
}

.specialty-tag.active {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border-color: rgba(220,38,38,0.85);
    box-shadow: 0 18px 55px -35px rgba(220,38,38,0.85);
}


/* Section Common Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-header {
    margin-bottom: 48px;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: #6b7280;
}

/* Results Section */
.results-section {
    padding: 50px 0;
    background-color: #ffffff;
    color: #111827;
    position: relative;
}

/* Keep cards premium but readable on white */
#results-section,
#results-section * {
    box-sizing: border-box;
}




.hidden {
    display: none !important;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.results-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

.results-header p {
    font-size: 14px;
    color: #6b7280;
}

.filter-select {
    padding: 10px 16px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.filter-select:focus {
    border-color: #dc2626;
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Clinic Card */
.clinic-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    backdrop-filter: blur(14px);
    box-shadow:
        0 30px 120px -70px rgba(0,0,0,0.95),
        0 0 0 1px rgba(220,38,38,0.08);
}

.clinic-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        0 40px 140px -90px rgba(0,0,0,0.98),
        0 0 40px rgba(220,38,38,0.18);
}


.clinic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.clinic-specialty {
    display: inline-block;
    padding: 6px 12px;
    background-color: #fef2f2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 8px;
}

.clinic-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.clinic-doctor {
    font-size: 14px;
    color: #6b7280;
}

.clinic-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    text-align: right;
}

.clinic-rating span {
    font-weight: 600;
    color: #111827;
}

.clinic-rating small {
    color: #9ca3af;
}

.star-icon {
    color: #fbbf24;
}

.clinic-price {
    font-size: 20px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 16px;
}

.clinic-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.clinic-distance {
    color: #dc2626;
    font-weight: 600;
}

.clinic-slots {
    margin-top: 8px}

.clinic-slots-title {
    font-size: 13px;
    color: #374151;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================
   Horários disponíveis
   Mesmo padrão visual dos botões principais do LifeTrack:
   branco + vermelho + sombra suave + interação consistente.
   ========================================================== */
.period-divider {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 18px 0 10px;
    color: #8b94a5;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 64px);
    justify-content: start;
    gap: 10px;
    width: 100%;
}

.time-slot {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px;
    min-width: 64px;
    max-width: 64px;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    margin: 0;
    padding: 0 !important;
    box-sizing: border-box;

    border: 1.5px solid #ef2b32;
    border-radius: 13px;
    background: #ffffff;
    color: #e11d2e;

    box-shadow:
        0 6px 14px rgba(225, 29, 46, 0.08),
        0 1px 2px rgba(17, 24, 39, 0.05);

    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    text-indent: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    vertical-align: middle;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease;
}

.time-slot::before {
    content: none;
}

.time-slot:hover {
    transform: translateY(-2px);
    border-color: #dc2626;
    background: #dc2626;
    color: #ffffff;
    box-shadow:
        0 10px 18px rgba(220, 38, 38, 0.18),
        0 2px 4px rgba(17, 24, 39, 0.06);
}

.time-slot:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 5px 12px rgba(220, 38, 38, 0.14);
}

.time-slot:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.20);
    outline-offset: 2px;
}

.time-slot:disabled {
    border-color: #e5e7eb;
    background: #f8fafc;
    color: #a1a1aa;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    opacity: .75;
}

.time-slot.morning,
.time-slot.afternoon,
.time-slot.evening {
    border-left-width: 1.5px;
    border-color: #ef2b32;
}

@media (max-width: 420px) {
    .time-slots {
        grid-template-columns: repeat(4, 58px);
        gap: 8px;
    }

    .time-slot {
        width: 58px;
        min-width: 58px;
        max-width: 58px;
        height: 52px;
        min-height: 52px;
        max-height: 52px;
        border-radius: 12px;
        font-size: 12px;
    }
}

@media (max-width: 350px) {
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .time-slot {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #374151;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 14px;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon-small {
    width: 36px;
    height: 36px;
    background-color: #dc2626;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column a,
.footer-column p {
    display: block;
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #dc2626;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #6b7280;
}

/* Modal + PERFIL PREMIUM */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background-color: white;
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    padding: 32px;
    position: relative;
}

/* PERFIL MODAL */
.profile-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.profile-modal {
    background: white;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3);
    transform: scale(0.9);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from { transform: scale(0.9) translateY(30px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.profile-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
}

.close-modal:hover {
    background: #f3f4f6;
    color: #374151;
}

.profile-content {
    padding: 32px;
}

.avatar-upload {
    text-align: center;
    margin-bottom: 32px;
}

.avatar-preview {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 4px solid #f8fafc;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
    background: #f3f4f6;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.avatar-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.upload-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(220,38,38,0.4);
}

.upload-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220,38,38,0.4);
}

.profile-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.field-group input {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.field-group input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.btn-cancel {
    flex: 1;
    padding: 14px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.btn-save {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220,38,38,0.4);
}

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16,185,129,0.4);
    animation: slideInRight 0.3s ease;
    z-index: 10001;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
}

.modal-close:hover {
    color: #111827;
}

.modal-body {
    text-align: center;
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-icon.success {
    background-color: #d1fae5;
    color: #10b981;
}

.modal-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    justify-content: center;
}

.modal-actions .btn {
    width: 100%;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .search-row {
        flex-direction: column;
    }
    
    .search-field {
        min-width: 100%;
    }
    
    .period-tags {
        justify-content: flex-start;
    }
    
    .clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 26px;
    }
    
    .specialties-tags {
        justify-content: flex-start;
    }
    
    .specialty-tag {
        font-size: 12px;
        padding: 8px 14px;
    }
}