﻿/* Healthcare SaaS - Premium Design System */

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --secondary: #1e40af;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #1f2937;
    --light: #f9fafb;
    --sidebar-width: 280px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--primary-dark);
    }

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

    .navbar-brand i {
        margin-right: 0.5rem;
    }

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary) !important;
        background-color: rgba(13, 148, 136, 0.1);
    }

.navbar .btn {
    padding: 0.5rem 1.25rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
    }

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

    .btn-outline-primary:hover {
        background-color: var(--primary);
        color: white;
    }

.btn-secondary {
    background-color: var(--secondary);
}

.btn-success {
    background-color: var(--success);
}

.btn-danger {
    background-color: var(--danger);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.25rem;
        opacity: 0.9;
        margin-bottom: 2rem;
    }

    .hero .btn-light {
        background: white;
        color: var(--primary);
        font-weight: 600;
    }

        .hero .btn-light:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

    .hero .btn-outline-light {
        border: 2px solid white;
        color: white;
    }

/* Stats Section */
.stats-section {
    background: white;
    padding: 3rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
    }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

    .stat-icon.primary {
        background: rgba(13, 148, 136, 0.1);
        color: var(--primary);
    }

    .stat-icon.info {
        background: rgba(59, 130, 246, 0.1);
        color: var(--info);
    }

    .stat-icon.warning {
        background: rgba(245, 158, 11, 0.1);
        color: var(--warning);
    }

    .stat-icon.success {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success);
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.25rem;
        color: var(--dark);
        margin-bottom: 1rem;
    }

    .section-title p {
        color: #6b7280;
        max-width: 600px;
        margin: 0 auto;
    }

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Doctor Cards */
.doctor-card {
    text-align: center;
}

    .doctor-card .card-img-top {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin: 1.5rem auto 1rem;
        border: 4px solid var(--primary-light);
    }

    .doctor-card .specialty {
        color: var(--primary);
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .doctor-card .rating {
        color: var(--accent);
    }

/* Service Cards */
.service-card {
    text-align: center;
    padding: 2rem;
}

    .service-card i {
        font-size: 3rem;
        color: var(--primary);
        margin-bottom: 1rem;
    }

/* Features Section */
.features-section {
    background: var(--dark);
    color: white;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 148, 136, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

    .feature-icon i {
        color: var(--primary-light);
        font-size: 1.25rem;
    }

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
}

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 1rem;
        left: 1.5rem;
        font-size: 4rem;
        color: var(--primary-light);
        opacity: 0.3;
        font-family: Georgia, serif;
    }

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

    .testimonial-author img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 1rem;
    }

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

    footer h5 {
        color: white;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    footer ul {
        list-style: none;
        padding: 0;
    }

        footer ul li {
            margin-bottom: 0.75rem;
        }

            footer ul li a {
                color: rgba(255, 255, 255, 0.7);
                transition: color 0.3s ease;
            }

                footer ul li a:hover {
                    color: var(--primary-light);
                }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background: var(--primary);
        transform: translateY(-3px);
    }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

    .page-header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .page-header .breadcrumb {
        background: transparent;
        padding: 0;
        margin: 0;
        justify-content: center;
    }

    .page-header .breadcrumb-item a {
        color: rgba(255, 255, 255, 0.8);
    }

    .page-header .breadcrumb-item.active {
        color: white;
    }

    .page-header .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255, 255, 255, 0.5);
    }

/* Admin Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: transform 0.3s ease;
}
    .admin-sidebar::-webkit-scrollbar {
        width: 5px;
    }

    .admin-sidebar::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 10px;
    }

    .admin-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .sidebar-header h4 {
        color: var(--primary);
        font-weight: 700;
        margin: 0;
    }

        .sidebar-header h4 i {
            margin-right: 0.5rem;
        }

.sidebar-menu {
    padding: 1rem 0;
}

    .sidebar-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .sidebar-menu ul li {
            margin: 0.25rem 0;
        }

            .sidebar-menu ul li a {
                display: flex;
                align-items: center;
                padding: 0.875rem 1.5rem;
                color: var(--dark);
                font-weight: 500;
                transition: all 0.3s ease;
            }

                .sidebar-menu ul li a:hover,
                .sidebar-menu ul li a.active {
                    background: rgba(13, 148, 136, 0.1);
                    color: var(--primary);
                    border-left: 3px solid var(--primary);
                }

                .sidebar-menu ul li a i {
                    width: 24px;
                    margin-right: 0.75rem;
                }

.menu-section {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background: var(--light);
}

.admin-header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

    .admin-header .search-box {
        position: relative;
    }

        .admin-header .search-box input {
            padding: 0.5rem 1rem 0.5rem 2.5rem;
            border-radius: 2rem;
            border: 1px solid #e5e7eb;
            width: 300px;
            transition: all 0.3s ease;
        }

            .admin-header .search-box input:focus {
                outline: none;
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
            }

        .admin-header .search-box i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
        }

    .admin-header .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .admin-header .notification-btn {
        position: relative;
        background: none;
        border: none;
        font-size: 1.25rem;
        color: var(--dark);
        cursor: pointer;
    }

    .admin-header .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 18px;
        height: 18px;
        background: var(--danger);
        border-radius: 50%;
        font-size: 0.7rem;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.admin-content {
    padding: 2rem;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .stat-box .icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-right: 1rem;
    }

        .stat-box .icon.bg-primary {
            background: rgba(13, 148, 136, 0.1);
            color: var(--primary);
        }

        .stat-box .icon.bg-info {
            background: rgba(59, 130, 246, 0.1);
            color: var(--info);
        }

        .stat-box .icon.bg-warning {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning);
        }

        .stat-box .icon.bg-success {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }

    .stat-box .info h3 {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .stat-box .info p {
        color: #6b7280;
        margin: 0;
        font-size: 0.875rem;
    }

    .stat-box .trend {
        margin-left: auto;
        font-size: 0.875rem;
    }

        .stat-box .trend.up {
            color: var(--success);
        }

        .stat-box .trend.down {
            color: var(--danger);
        }

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

    .dashboard-card .card-header {
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .dashboard-card .card-header h5 {
            margin: 0;
            font-weight: 600;
        }

    .dashboard-card .card-body {
        padding: 1.5rem;
    }

/* Tables */
.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table {
    margin: 0;
}

    .table thead th {
        background: #f9fafb;
        border-bottom: 2px solid #e5e7eb;
        font-weight: 600;
        color: var(--dark);
        padding: 1rem;
    }

    .table tbody td {
        padding: 1rem;
        vertical-align: middle;
        border-bottom: 1px solid #e5e7eb;
    }

    .table tbody tr:hover {
        background: #f9fafb;
    }

    .table tbody tr:last-child td {
        border-bottom: none;
    }

/* Status Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.75rem;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.badge-primary {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
}

/* Patient Avatar */
.patient-info, .doctor-info {
    display: flex;
    align-items: center;
}

    .patient-info img, .doctor-info img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 0.75rem;
    }

    .patient-info .name, .doctor-info .name {
        font-weight: 600;
        margin-bottom: 0;
    }

    .patient-info .email, .doctor-info .specialty {
        font-size: 0.75rem;
        color: #6b7280;
        margin: 0;
    }

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .action-btn.view {
        background: rgba(59, 130, 246, 0.1);
        color: var(--info);
    }

    .action-btn.edit {
        background: rgba(245, 158, 11, 0.1);
        color: var(--warning);
    }

    .action-btn.delete {
        background: rgba(239, 68, 68, 0.1);
        color: var(--danger);
    }

    .action-btn:hover {
        transform: scale(1.1);
    }

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

    .form-group label {
        font-weight: 500;
        margin-bottom: 0.5rem;
        display: block;
    }

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
        outline: none;
    }

.form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 100%;
    overflow: hidden;
}

    .auth-card .card-body {
        padding: 2.5rem;
    }

    .auth-card .logo {
        text-align: center;
        margin-bottom: 2rem;
    }

        .auth-card .logo i {
            font-size: 3rem;
            color: var(--primary);
        }

        .auth-card .logo h3 {
            margin-top: 0.5rem;
            color: var(--dark);
        }

    .auth-card .divider {
        display: flex;
        align-items: center;
        margin: 1.5rem 0;
    }

        .auth-card .divider::before,
        .auth-card .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e5e7eb;
        }

        .auth-card .divider span {
            padding: 0 1rem;
            color: #9ca3af;
            font-size: 0.875rem;
        }

.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .social-login .btn {
        flex: 1;
        padding: 0.75rem;
        border: 1px solid #e5e7eb;
        background: white;
        color: var(--dark);
    }

        .social-login .btn:hover {
            background: #f9fafb;
        }

        .social-login .btn i {
            margin-right: 0.5rem;
        }

.form-check {
    margin-bottom: 1rem;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Appointment Calendar */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

    .calendar-header h5 {
        margin: 0;
    }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .calendar-day:hover {
        background: rgba(13, 148, 136, 0.1);
    }

    .calendar-day.active {
        background: var(--primary);
        color: white;
    }

    .calendar-day.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .calendar-day.header {
        font-weight: 600;
        color: #6b7280;
        cursor: default;
    }

        .calendar-day.header:hover {
            background: transparent;
        }

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.time-slot {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .time-slot:hover {
        border-color: var(--primary);
        background: rgba(13, 148, 136, 0.05);
    }

    .time-slot.selected {
        border-color: var(--primary);
        background: var(--primary);
        color: white;
    }

    .time-slot.unavailable {
        background: #f3f4f6;
        color: #9ca3af;
        cursor: not-allowed;
    }

/* Prescription Card */
.prescription-card {
    border-left: 4px solid var(--primary);
}

    .prescription-card .card-body {
        padding: 1.5rem;
    }

.prescription-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #e5e7eb;
}

    .prescription-item:last-child {
        border-bottom: none;
    }

.prescription-medicine {
    font-weight: 600;
}

.prescription-dosage {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Modal */
.modal-content {
    border-radius: 1rem;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
}

/* Alerts */
.alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.25rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

/* Pagination */
.pagination {
    gap: 0.25rem;
}

.page-link {
    border-radius: 0.5rem;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--dark);
}

    .page-link:hover {
        background: rgba(13, 148, 136, 0.1);
        color: var(--primary);
    }

.page-item.active .page-link {
    background: var(--primary);
    color: white;
}

/* Profile Card */
.profile-card {
    text-align: center;
    padding: 2rem;
}

    .profile-card img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid var(--primary-light);
        margin-bottom: 1rem;
    }

    .profile-card h4 {
        margin-bottom: 0.25rem;
    }

    .profile-card .text-muted {
        font-size: 0.875rem;
    }

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

    .profile-stats .stat {
        text-align: center;
    }

        .profile-stats .stat h5 {
            margin-bottom: 0;
            color: var(--primary);
        }

        .profile-stats .stat small {
            color: #6b7280;
        }

/* Contact Page */
.contact-card {
    text-align: center;
    padding: 2rem;
}

    .contact-card .icon {
        width: 70px;
        height: 70px;
        background: rgba(13, 148, 136, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 1.5rem;
        color: var(--primary);
    }

.map-container {
    height: 400px;
    background: #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

        .admin-sidebar.active {
            transform: translateX(0);
        }

    .admin-main {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .stat-box {
        flex-direction: column;
        text-align: center;
    }

        .stat-box .icon {
            margin: 0 0 1rem 0;
        }

        .stat-box .trend {
            margin: 0.5rem 0 0 0;
        }

    .admin-header .search-box input {
        width: 100%;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
}

    .dropdown-item:hover {
        background: rgba(13, 148, 136, 0.1);
        color: var(--primary);
    }

/* Avatar Group */
.avatar-group {
    display: flex;
}

    .avatar-group img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2px solid white;
        margin-left: -8px;
    }

        .avatar-group img:first-child {
            margin-left: 0;
        }

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
}

.progress-bar {
    background: var(--primary);
    border-radius: 4px;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 300px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
}

    .empty-state i {
        font-size: 4rem;
        color: #d1d5db;
        margin-bottom: 1rem;
    }

    .empty-state h5 {
        color: var(--dark);
        margin-bottom: 0.5rem;
    }

    .empty-state p {
        color: #6b7280;
    }

/* List Group */
.list-group-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
}

    .list-group-item:last-child {
        border-bottom: none;
    }

    .list-group-item:hover {
        background: #f9fafb;
    }

/* Tab Navigation */
.nav-tabs {
    border-bottom: 2px solid #e5e7eb;
}

    .nav-tabs .nav-link {
        border: none;
        color: #6b7280;
        padding: 0.75rem 1.5rem;
        font-weight: 500;
        border-bottom: 2px solid transparent;
        margin-bottom: -2px;
    }

        .nav-tabs .nav-link:hover {
            border-color: transparent;
            color: var(--primary);
        }

        .nav-tabs .nav-link.active {
            color: var(--primary);
            border-color: var(--primary);
            background: transparent;
        }

/* Doctor Details */
.doctor-profile-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
}

.doctor-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
}

.doctor-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.doctor-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .doctor-meta-item i {
        opacity: 0.8;
    }

/* Schedule Item */
.schedule-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background: #f9fafb;
}

    .schedule-item .time {
        font-weight: 600;
        min-width: 80px;
    }

    .schedule-item .title {
        flex: 1;
    }

    .schedule-item .badge {
        margin-left: auto;
    }

/* Quick Actions */
.quick-action {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .quick-action:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .quick-action i {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        font-size: 1.25rem;
    }

    .quick-action h6 {
        margin: 0;
        font-weight: 600;
    }

    .quick-action p {
        margin: 0;
        font-size: 0.75rem;
        color: #6b7280;
    }

/*    extra css
*/

.card {
    transition: .3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

.table th {
    color: #6c757d;
}

.table td {
    font-weight: 600;
}
.input-group-text {
    background: #f8f9fa;
}

.btn-primary {
    border-radius: 10px;
}
