h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Emergency Dentist - Clean Modern Design */

/* Root Variables - Clean Color Palette */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
}

body {
    color: var(--text-dark);
    background-color: var(--background);
}

/* Layout with Sidebar */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(135deg, #e7f1fe 0%, #8dafe0 74.5%);
    border-right: none;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1060;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 29, 71, 0.1);
}

.sidebar-header {
    padding: 2rem 1.5rem 2rem 4rem;
    border-bottom: 1px solid rgba(183, 197, 214, 0.5);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #001d47;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.sidebar-brand .logo-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.sidebar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sidebar-brand .brand-line {
    font-size: 1rem;
    font-weight: 700;
}

.sidebar-brand:hover {
    color: #ffaa3b;
    transform: translateX(2px);
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: #001d47;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 300;
    font-size: 1.125rem;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    transition: transform 0.2s ease;
}

.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffaa3b;
    border-left-color: #ffaa3b;
    transform: translateX(2px);
}

.sidebar-link:hover i {
    transform: scale(1.1);
}

.sidebar-link.text-danger {
    color: #001d47 !important;
    font-weight: 500;
}

.sidebar-link.text-danger:hover {
    background-color: rgba(255, 170, 59, 0.15);
    color: #ffaa3b !important;
    border-left-color: #ffaa3b;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(183, 197, 214, 0.5);
    text-align: center;
}

.sidebar-footer p {
    color: #001d47;
    opacity: 0.7;
    font-size: 0.75rem;
    font-weight: 300;
}

.sidebar-separator {
    height: 1px;
    background-color: rgba(183, 197, 214, 0.5);
    margin: 1.5rem 1.5rem;
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Hamburger Menu Button (Mobile Only) */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 0.75rem;
    left: 1rem;
    z-index: 1100;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #001d47;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 170, 59, 0.2);
    transform: scale(1.05);
}

.sidebar-toggle i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Overlay (Mobile Only) */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1055;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Home Page - Search Hero */
.home-container {
    padding: 0;
}

/* Top Logo Home */
.top-logo-home {
    display: none;
}

/* Advertisement Carousel */
.dental-ads-carousel {
    margin-bottom: 0;
    margin-left: 1rem;
    margin-right: 1rem;
    position: relative;
}

.dental-ads-carousel .carousel-inner {
    border-radius: 0px 0px 32px 32px;
    overflow: hidden;
}

.ad-slide {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ad-content {
    text-align: center;
    max-width: 600px;
}

.ad-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ad-content p {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.ad-content .btn-primary {
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.ad-content .btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.dental-ads-carousel .carousel-indicators {
    margin-bottom: 1rem;
    z-index: 10;
}

.dental-ads-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
    opacity: 1;
    transition: all 0.3s ease;
}

.dental-ads-carousel .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dental-ads-carousel .carousel-indicators button.active {
    background-color: white;
    transform: scale(1.3);
}


.search-hero {
    background-color: var(--background);
    padding: 40px 20px 30px;
    text-align: center;
}

.search-content {
    max-width: 700px;
    margin: 0 auto;
}

.search-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}


/* Search Box */
.search-box {
    margin-bottom: 1rem;
}

.search-box .input-group {
    border: 2px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-box .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.search-box .input-group-text {
    padding: 1rem 1.25rem;
    color: var(--text-muted);
}

.search-box .form-control {
    padding: 1rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.search-box .form-control:focus {
    box-shadow: none;
    outline: none;
}

.search-box .btn-primary {
    padding: 1rem 1.5rem;
    border-radius: 0;
    background-color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.search-box .btn-primary:hover {
    background-color: var(--primary-dark);
}

.quick-actions {
    font-size: 0.875rem;
}

.quick-actions a:hover {
    color: var(--primary-color) !important;
}

/* Hero Image Section */
.hero-image-section {
    background-color: var(--background);
    padding: 30px 20px 80px;
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--background-alt);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.feature-item-modern:hover {
    background-color: #f3f4f6;
    transform: translateX(4px);
}

.feature-icon-modern {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Clinics Section */
.clinics-section {
    padding: 60px 20px;
    background-color: var(--background);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

/* Clinic Cards */
.clinic-card {
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    background-color: var(--background);
}

.clinic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.clinic-card .badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

.clinic-card .bg-success {
    background-color: var(--success-color) !important;
}

.clinic-card .bg-danger {
    background-color: var(--danger-color) !important;
}

/* Buttons */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


/* Error UI */
#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 2px solid #ffc107;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Clinics Page */
.clinics-page-container {
    background-color: var(--background-alt);
    min-height: calc(100vh - 200px);
}

.page-header {
    margin-top: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.filters-card {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 20px;
}

.filters-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.form-check-input {
    border-color: var(--border-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-dark);
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Modern Clinic Cards */
.modern-clinic-card {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.modern-clinic-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.clinic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.clinic-info {
    flex: 1;
}

.clinic-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.clinic-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.clinic-location i {
    color: var(--primary-color);
}

.distance-badge {
    background-color: var(--background-alt);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.clinic-status {
    flex-shrink: 0;
    margin-left: 1rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-open {
    background-color: #ecfdf5;
    color: var(--success-color);
}

.status-open i {
    font-size: 0.5rem;
}

.status-closed {
    background-color: #fef2f2;
    color: var(--danger-color);
}

.status-closed i {
    font-size: 0.5rem;
}

.clinic-hours-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background-color: var(--background-alt);
    border-radius: 6px;
}

.clinic-hours-info.closed {
    background-color: #fef2f2;
    color: var(--danger-color);
}

.clinic-hours-info i {
    color: var(--primary-color);
}

.clinic-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.clinic-contact i {
    color: var(--primary-color);
}

.clinic-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.clinic-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
}

.clinic-btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.clinic-btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.clinic-btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    background-color: var(--background);
}

.clinic-btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--background-alt);
}

/* Responsive */
@media (max-width: 992px) {
    /* Sidebar Mobile Behavior */
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: all;
    }

    .sidebar-overlay {
        display: block;
    }

    .top-logo-home {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        background: linear-gradient(135deg, #e7f1fe 0%, #8dafe0 74.5%);
        padding: 1rem 2rem 1rem 1.5rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1050;
    }

    .top-logo-home .logo-icon {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .top-logo-home .brand-text {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
        text-align: right;
    }

    .top-logo-home .brand-line {
        font-size: 0.875rem;
        font-weight: 700;
        color: #001d47;
    }

    .dental-ads-carousel {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        margin-top: 65px;
    }

    .main-content {
        margin-left: 0;
        padding-top: 0;
    }

    /* Adjust sidebar brand for mobile */
    .sidebar-brand .brand-line {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .search-hero {
        padding: 20px 20px 15px;
    }

    .hero-image-section {
        padding: 15px 20px 60px;
    }

    .search-box {
        position: relative;
        z-index: 10;
    }

    .search-box .input-group {
        border-radius: 12px;
    }

    .search-box .input-group-text {
        border-radius: 12px 0 0 12px !important;
        padding: 0.75rem;
    }

    .search-box .btn-primary {
        border-radius: 0 12px 12px 0 !important;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .search-label {
        font-size: 1rem;
    }

    .search-box .form-control {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        pointer-events: auto !important;
    }

    .filters-card {
        position: static;
    }

    .clinic-card-header {
        flex-direction: column;
        gap: 1rem;
    }

    .clinic-status {
        margin-left: 0;
    }

    .clinic-actions {
        flex-direction: column;
    }

    .clinic-btn {
        width: 100%;
    }

    /* Advertisement Slider Mobile */
    .ad-slide {
        min-height: 180px;
    }

    .ad-overlay {
        padding: 0.75rem;
    }

    .ad-content h3 {
        font-size: 1rem;
    }

    .ad-content p {
        font-size: 0.75rem;
    }

    .ad-content .btn-primary {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}

/* SOS Page Modern Design */
.sos-page {
    background-color: var(--background-alt);
    min-height: calc(100vh - 200px);
}

.sos-hero {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.sos-banner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.sos-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulse 2s infinite;
}

.sos-icon i {
    font-size: 3rem;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.sos-title {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5rem;
}

.sos-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 500;
}

.sos-call-btn {
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: white;
    color: #dc2626;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.sos-call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background-color: #f9fafb;
    color: #dc2626;
}

.sos-call-btn i {
    font-size: 1.5rem;
}

.sos-content {
    padding: 60px 20px;
}

.sos-card {
    background-color: var(--background);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.sos-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.sos-card-critical {
    border-color: #fee2e2;
}

.sos-card-critical:hover {
    border-color: #dc2626;
}

.sos-card-dental {
    border-color: #dbeafe;
}

.sos-card-dental:hover {
    border-color: var(--primary-color);
}

.sos-card-header {
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sos-card-critical .sos-card-header {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.sos-card-dental .sos-card-header {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.sos-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sos-card-critical .sos-card-icon {
    background-color: #dc2626;
    color: white;
}

.sos-card-dental .sos-card-icon {
    background-color: var(--primary-color);
    color: white;
}

.sos-card-icon i {
    font-size: 1.75rem;
}

.sos-card-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.sos-card-body {
    padding: 2rem;
}

.sos-intro {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.sos-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sos-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.sos-list li:last-child {
    border-bottom: none;
}

.sos-list li:hover {
    background-color: var(--background-alt);
    padding-left: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-right: 0.5rem;
    border-radius: 8px;
}

.sos-list li i {
    flex-shrink: 0;
    font-size: 1.125rem;
    margin-top: 0.125rem;
}

.sos-card-critical .sos-list li i {
    color: #dc2626;
}

.sos-card-dental .sos-list li i {
    color: var(--primary-color);
}

.sos-list li span {
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.sos-action-text {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--background-alt);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.sos-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    margin-top: 2rem;
}

.sos-disclaimer i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sos-disclaimer div {
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* SOS Page Responsive */
@media (max-width: 768px) {
    .sos-hero {
        padding: 40px 20px;
    }

    .sos-title {
        font-size: 3.5rem;
        letter-spacing: 0.25rem;
    }

    .sos-subtitle {
        font-size: 1.125rem;
    }

    .sos-call-btn {
        padding: 0.875rem 2rem;
        font-size: 1.125rem;
    }

    .sos-content {
        padding: 40px 20px;
    }

    .sos-card-header {
        padding: 1.5rem;
    }

    .sos-card-body {
        padding: 1.5rem;
    }

    .sos-card-icon {
        width: 48px;
        height: 48px;
    }

    .sos-card-icon i {
        font-size: 1.5rem;
    }

    .sos-card-header h3 {
        font-size: 1.125rem;
    }
}

/* Add Clinic Page Modern Design */
.add-clinic-page {
    background-color: var(--background-alt);
    min-height: calc(100vh - 200px);
}

.add-clinic-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.add-clinic-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.add-clinic-banner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.add-clinic-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: bounce 2s infinite;
}

.add-clinic-icon i {
    font-size: 3rem;
    color: white;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.add-clinic-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.add-clinic-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.add-clinic-content {
    padding: 60px 20px;
}

/* Construction Notice */
.construction-notice {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    margin-bottom: 4rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.construction-icon {
    width: 80px;
    height: 80px;
    background-color: #f59e0b;
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.construction-icon i {
    font-size: 2.5rem;
}

.construction-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 0.75rem;
}

.construction-text p {
    color: #92400e;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.construction-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    margin-top: 1rem;
}

.construction-note i {
    color: #f59e0b;
    font-size: 1.25rem;
}

/* Features Section */
.features-section {
    margin-bottom: 4rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: var(--background);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card-icon i {
    font-size: 2rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
}

.cta-card {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cta-buttons .btn i {
    font-size: 1.25rem;
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.cta-buttons .btn-outline-primary {
    background-color: var(--background);
}

.cta-buttons .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
}

/* Add Clinic Page Responsive */
@media (max-width: 768px) {
    .add-clinic-hero {
        padding: 40px 20px;
    }

    .add-clinic-title {
        font-size: 2rem;
    }

    .add-clinic-subtitle {
        font-size: 1rem;
    }

    .add-clinic-content {
        padding: 40px 20px;
    }

    .construction-notice {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .construction-icon {
        width: 64px;
        height: 64px;
    }

    .construction-icon i {
        font-size: 2rem;
    }

    .construction-text h3 {
        font-size: 1.5rem;
    }

    .features-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card-icon {
        width: 56px;
        height: 56px;
    }

    .feature-card-icon i {
        font-size: 1.75rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-card h3 {
        font-size: 1.5rem;
    }

    .cta-card p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .clinic-form-container .form-section {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Clinic Form Styles */
.clinic-form-container {
    background-color: var(--background);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
}

.form-section {
    background-color: var(--background-alt);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section h3 i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background-color: var(--background);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-checkbox:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.service-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.service-checkbox span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
}

.service-checkbox.large {
    padding: 1.25rem 1.5rem;
}

.service-checkbox.large span {
    font-size: 1.0625rem;
}

/* Success Notice */
.success-notice {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #10b981;
    border-radius: 16px;
    margin-bottom: 4rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-icon i {
    font-size: 3rem;
}

.success-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 1rem;
}

.success-text p {
    color: #047857;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .clinic-form-container {
        padding: 1.5rem;
    }

    .success-notice {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .success-icon {
        width: 64px;
        height: 64px;
    }

    .success-icon i {
        font-size: 2rem;
    }

    .success-text h3 {
        font-size: 1.5rem;
    }

    .success-text p {
        font-size: 1rem;
    }
}

/* Contact Page Modern Design */
.contact-page {
    background-color: var(--background-alt);
    min-height: calc(100vh - 200px);
}

.contact-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.contact-banner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.contact-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 3rem;
    color: white;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.contact-content {
    padding: 60px 0px;
}

/* Contact Person Card */
.contact-person-card {
    background-color: var(--background);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-person-card:hover {
    border-color: var(--success-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-person-image {
    text-align: center;
    margin-bottom: 2rem;
}

.person-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--success-color);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.contact-person-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.person-role {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--background-alt);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.contact-detail-item:hover {
    background-color: #f3f4f6;
    transform: translateX(4px);
}

.contact-detail-item i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-detail-item a:hover {
    color: var(--success-color);
}

.contact-detail-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Contact Form Card */
.contact-form-card {
    background-color: var(--background);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-form-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-form-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.2s ease;
    background-color: var(--background);
    color: var(--text-dark);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-form .form-check-input {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-form .form-check-label {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.btn-submit i {
    font-size: 1.25rem;
}

.form-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-notice i {
    color: var(--primary-color);
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Info Cards Section */
.info-cards-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--border-color);
}

.info-card {
    background-color: var(--background);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--success-color);
}

.info-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-card-icon i {
    font-size: 2rem;
}

.info-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 40px 15px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-content {
        padding: 40px 0px;
    }

    .contact-person-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .person-photo {
        width: 140px;
        height: 140px;
    }

    .contact-person-info h2 {
        font-size: 1.375rem;
    }

    .contact-form-card {
        padding: 1.25rem;
    }

    .contact-form-card h3 {
        font-size: 1.375rem;
    }

    .contact-detail-item {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .info-cards-section {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    .info-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .info-card-icon {
        width: 56px;
        height: 56px;
    }

    .info-card-icon i {
        font-size: 1.75rem;
    }
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    padding: 2rem 0;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.login-icon i {
    font-size: 2.5rem;
    color: white;
}

.login-header h2 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #6b7280;
    margin-bottom: 0;
}

.login-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

/* Admin Dashboard Styles - Modern Design */
.admin-dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #e7f1fe 0%, #f9fafb 100%);
}

.admin-header {
    background: linear-gradient(135deg, #e7f1fe 0%, #8dafe0 74.5%);
    padding: 2.5rem 0;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    border-bottom: 3px solid rgba(37, 99, 235, 0.2);
}

.admin-header h1 {
    color: #001d47;
    font-weight: 700;
    margin: 0;
    font-size: 2rem;
}

.admin-header h1 i {
    color: #ffaa3b;
}

.admin-welcome {
    color: #001d47;
    font-size: 1rem;
    font-weight: 500;
    margin-right: 1rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 29, 71, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8dafe0, #2563eb);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-icon.pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.stat-icon.published {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
}

.stat-icon.rejected {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.stat-icon.visitors {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: #001d47;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-change {
    font-size: 0.75rem;
    color: #059669;
    margin-top: 0.5rem;
}

.stat-change.negative {
    color: #dc2626;
}

.admin-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 29, 71, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    margin-bottom: 2rem;
}

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.admin-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #001d47;
    margin: 0;
}

.admin-section-title i {
    color: #ffaa3b;
    margin-right: 0.5rem;
}

.clinic-row {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.clinic-row:hover {
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 29, 71, 0.06);
    transform: translateX(4px);
}

.clinic-row:last-child {
    margin-bottom: 0;
}

.clinic-info h5 {
    font-weight: 700;
    color: #001d47;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.clinic-meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clinic-meta i {
    color: #8dafe0;
    width: 16px;
}

.clinic-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.clinic-actions .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.clinic-actions .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}

.clinic-actions .btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.clinic-actions .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
}

.clinic-actions .btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border: 1px solid #fcd34d;
}

.badge-published {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    border: 1px solid #6ee7b7;
}

.badge-rejected {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }

    .admin-welcome {
        display: block;
        margin-bottom: 0.75rem;
        margin-right: 0 !important;
    }

    .admin-section {
        padding: 1.5rem;
    }

    .admin-section-title {
        font-size: 1.25rem;
    }

    .clinic-row {
        padding: 1.25rem;
    }

    .clinic-actions {
        flex-direction: column;
    }

    .clinic-actions .btn {
        width: 100%;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}
