:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --medical-blue: #0077be;
    --medical-green: #00b894;
    --bg-light: #f8f9fa;
}

body {
    font-family: "Zain", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--medical-blue) !important;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--medical-blue) !important;
    transform: translateY(-2px);
}

/* Hero Section */
/* Hero Section */
.hero-section {
    padding: 160px 0;
    color: white;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    /* ضروري */
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(107 112 216 / 50%);
    /* تقدر تخليه 0.4 أو 0.6 حسب الرؤية */
    z-index: 1;
    /* تحت المحتوى */
}


.hero-section>.container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    margin: 10px;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: all 0.3s;
    height: 100%;
    background: white;
    border: 2px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--medical-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.feature-text {
    color: #666;
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: #f8f9fa;
}

.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--medical-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Doctor Types */
.doctor-types {
    padding: 80px 0;
    background: white;
}

.specialty-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
    height: 100%;
}

.specialty-card:hover {
    border-color: var(--medical-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.specialty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--medical-blue);
}

.specialty-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-section .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.cta-section .buttons a {
    margin: 10px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-link:hover {
    color: white;
    padding-right: 5px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--medical-blue);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 14px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.btn-primary {
    background: #6b70d7;
    border-color: #6b70d7;
}

.btn-primary:hover {
    background: #6b70d7;
    border-color: #6b70d7;
}

.btn-outline-primary {
    color: #6b70d7;
    border-color: #6b70d7;
}

.btn-outline-primary:hover {
    background-color: #6b70d7;
    color: #fff;
    border-color: #6b70d7;
}



/* Search Section */
.search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    color: white;
}

.search-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-input {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 20px;
    font-size: 1rem;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 190, 0.25);
}

/* Filters */
.filters-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn {
    border-radius: 25px;
    padding: 8px 20px;
    margin: 5px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Doctor Card */
.doctor-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.doctor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.doctor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.doctor-info {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.doctor-info i {
    color: var(--primary-color);
    margin-left: 5px;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
    margin-right: 5px;
}

.price-tag {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
}

.online-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00b894;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin: 3px;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.status-busy {
    background: #fff3cd;
    color: #856404;
}

.btn-view-profile {
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-consult {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-consult:hover {
    background: #005a8f;
    transform: translateY(-2px);
}

/* Stats Cards */
.stats-mini {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 5px 0;
}

.stats-mini strong {
    color: var(--primary-color);
}

/* Loading */
.loading {
    text-align: center;
    padding: 50px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .doctor-avatar {
        width: 80px;
        height: 80px;
    }

    .doctor-name {
        font-size: 1.2rem;
    }
}

.btn-primary {
    background: #6b70d7;
    border-color: #6b70d7;
}

.btn-primary:hover {
    background: #6b70d7;
    border-color: #6b70d7;
}

.btn-outline-primary {
    color: #6b70d7;
    border-color: #6b70d7;
}

.btn-outline-primary:hover {
    background-color: #6b70d7;
    color: #fff;
    border-color: #6b70d7;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    color: white;
}

.search-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-input {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 20px;
    font-size: 1rem;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 190, 0.25);
}

/* Filters */
.filters-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn {
    border-radius: 25px;
    padding: 8px 20px;
    margin: 5px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Doctor Card */
.doctor-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.doctor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.doctor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.doctor-info {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.doctor-info i {
    color: var(--primary-color);
    margin-left: 5px;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
    margin-right: 5px;
}

.price-tag {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
}

.online-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00b894;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin: 3px;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.status-busy {
    background: #fff3cd;
    color: #856404;
}

.btn-view-profile {
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-consult {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-consult:hover {
    background: #005a8f;
    transform: translateY(-2px);
}

/* Stats Cards */
.stats-mini {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 5px 0;
}

.stats-mini strong {
    color: var(--primary-color);
}

/* Loading */
.loading {
    text-align: center;
    padding: 50px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .doctor-avatar {
        width: 80px;
        height: 80px;
    }

    .doctor-name {
        font-size: 1.2rem;
    }
}

.btn-primary {
    background: #6b70d7;
    border-color: #6b70d7;
}

.btn-primary:hover {
    background: #6b70d7;
    border-color: #6b70d7;
}

.btn-outline-primary {
    color: #6b70d7;
    border-color: #6b70d7;
}

.btn-outline-primary:hover {
    background-color: #6b70d7;
    color: #fff;
    border-color: #6b70d7;
}


/******************************* Start All Doctors Pages *******************************/


.doctors {


    background-color: var(--bg-light);
    padding-top: 76px;

    /* Search Section */
    .search-section {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 40px 0;
        color: white;
    }

    .search-card {
        background: white;
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .search-input {
        border-radius: 10px;
        border: 2px solid #e0e0e0;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .search-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(0, 119, 190, 0.25);
    }

    /* Filters */
    .filters-section {
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .filter-btn {
        border-radius: 25px;
        padding: 8px 20px;
        margin: 5px;
        border: 2px solid #e0e0e0;
        background: white;
        color: #333;
        transition: all 0.3s;
    }

    .filter-btn:hover, .filter-btn.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    /* Doctor Card */
    .doctor-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        margin-bottom: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s;
        border: 2px solid transparent;
    }

    .doctor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }

    .doctor-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #dfdfdf;
    }

    .doctor-name {
        font-size: 1.4rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 5px;
    }

    .doctor-specialty {
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 10px;
    }

    .doctor-info {
        color: #666;
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .doctor-info i {
        color: var(--primary-color);
        margin-left: 5px;
    }

    .rating-stars {
        color: #ffc107;
        font-size: 1.1rem;
    }

    .review-count {
        color: #666;
        font-size: 0.9rem;
        margin-right: 5px;
    }

    .price-tag {
        background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
        color: white;
        padding: 10px 20px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 1.1rem;
        display: inline-block;
    }

    .online-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: #00b894;
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .status-badge {
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-block;
        margin: 3px;
    }

    .status-available {
        background: #d4edda;
        color: #155724;
    }

    .status-busy {
        background: #fff3cd;
        color: #856404;
    }

    .btn-view-profile {
        border-radius: 10px;
        padding: 10px 25px;
        font-weight: 600;
        transition: all 0.3s;
    }

    .btn-consult {
        background: var(--primary-color);
        color: white;
        border: none;
    }

    .btn-consult:hover {
        background: #005a8f;
        transform: translateY(-2px);
    }

    /* Stats Cards */
    .stats-mini {
        background: #f8f9fa;
        padding: 10px 15px;
        border-radius: 8px;
        margin: 5px 0;
    }

    .stats-mini strong {
        color: var(--primary-color);
    }

    /* Loading */
    .loading {
        text-align: center;
        padding: 50px;
    }

    .spinner-border {
        width: 3rem;
        height: 3rem;
    }

    /* Empty State */
    .empty-state {
        text-align: center;
        padding: 80px 20px;
    }

    .empty-state i {
        font-size: 5rem;
        color: #ddd;
        margin-bottom: 20px;
    }

    @media (max-width: 768px) {
        .doctor-avatar {
            width: 80px;
            height: 80px;
        }

        .doctor-name {
            font-size: 1.2rem;
        }
    }

    .btn-primary {
        background: #6b70d7;
        border-color: #6b70d7;
    }

    .btn-primary:hover {
        background: #6b70d7;
        border-color: #6b70d7;
    }

    .btn-outline-primary {
        color: #6b70d7;
        border-color: #6b70d7;
    }

    .btn-outline-primary:hover {
        background-color: #6b70d7;
        color: #fff;
        border-color: #6b70d7;
    }

}

/******************************* End All Doctors Page *******************************/


/********************************* Start Login Page ***********************************/



.login {

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 50px;

    .login-container {
        max-width: 500px;
        width: 100%;
    }

    .login-card {
        background: white;
        border-radius: 20px;
        padding: 40px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    @media(max-width:991px) {
        .login-card {
            padding: 10px;
        }
    }

    .logo {
        text-align: center;
        margin-bottom: 30px;
    }

    .logo i {
        font-size: 4rem;
        color: var(--primary-color);
    }

    .logo h2 {
        font-weight: 700;
        color: #333;
        margin-top: 15px;
    }

    .logo p {
        color: #666;
        margin-bottom: 0;
    }

    .user-type-selector {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .user-type-btn {
        flex: 1;
        padding: 20px;
        border: 3px solid #e0e0e0;
        border-radius: 15px;
        background: white;
        cursor: pointer;
        transition: all 0.3s;
        text-align: center;
    }

    .user-type-btn:hover {
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

    .user-type-btn.active {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    }

    .user-type-btn i {
        font-size: 2.5rem;
        display: block;
        margin-bottom: 10px;
        color: var(--primary-color);
    }

    .user-type-btn span {
        font-weight: 600;
        color: #333;
    }

    .form-label {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
    }

    .form-control {
        border-radius: 10px;
        border: 2px solid #e0e0e0;
        padding: 12px 15px;
        font-size: 1rem;
        transition: all 0.3s;
    }

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(0, 119, 190, 0.25);
    }

    .input-group-text {
        border-radius: 10px 0 0 10px;
        border: 2px solid #e0e0e0;
        border-left: none;
        background: #f8f9fa;
    }


    .btn-login {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        border-radius: 10px;
        padding: 14px;
        font-weight: 700;
        font-size: 1.1rem;
        color: white;
        width: 100%;
        transition: all 0.3s;
    }

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    }

    .divider {
        text-align: center;
        margin: 25px 0;
        position: relative;
    }

    .divider::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #e0e0e0;
    }

    .divider span {
        background: white;
        padding: 0 15px;
        position: relative;
        color: #666;
    }

    .social-login {
        display: grid;

        gap: 10px;
    }

    .btn-social {
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        padding: 12px;
        background: white;
        font-weight: 600;
        transition: all 0.3s;
    }

    .btn-social:hover {
        border-color: var(--primary-color);
        transform: translateY(-2px);
    }

    .btn-google {
        color: #db4437;
    }

    .btn-facebook {
        color: #4267b2;
    }

    .register-link {
        text-align: center;
        margin-top: 25px;
        color: #666;
    }

    .register-link a {
        color: var(--primary-color);
        font-weight: 700;
        text-decoration: none;
    }

    .register-link a:hover {
        text-decoration: underline;
    }

    .back-home {
        text-align: center;
        margin-top: 20px;
    }

    .back-home a {
        color: white;
        text-decoration: none;
        font-weight: 600;
    }

    .back-home a:hover {
        text-decoration: underline;
    }

    .alert {
        border-radius: 10px;
        border: none;
    }

    .password-toggle {
        cursor: pointer;
        color: #666;
    }

    .remember-me {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 15px 0;
    }

    .forgot-password {
        color: var(--primary-color);
        text-decoration: none;
        font-size: 0.9rem;
    }

    .forgot-password:hover {
        text-decoration: underline;
    }

}

/************************************************** End Login Page **************************************************/
/************************************************** Start Register Page ***************************************************/


.register {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 50px;


    .register-container {
        max-width: 600px;
        width: 100%;
        margin: 40px auto;
    }

    .register-card {
        background: white;
        border-radius: 20px;
        padding: 40px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    @media(max-width:991px) {
        .register-card {
            padding: 10px;
        }
    }

    .logo {
        text-align: center;
        margin-bottom: 30px;
    }

    .logo i {
        font-size: 4rem;
        color: var(--primary-color);
    }

    .logo h2 {
        font-weight: 700;
        color: #333;
        margin-top: 15px;
    }

    .logo p {
        color: #666;
        margin-bottom: 0;
    }

    .user-type-selector {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .user-type-btn {
        flex: 1;
        padding: 20px;
        border: 3px solid #e0e0e0;
        border-radius: 15px;
        background: white;
        cursor: pointer;
        transition: all 0.3s;
        text-align: center;
    }

    .user-type-btn:hover {
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

    .user-type-btn.active {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    }

    .user-type-btn i {
        font-size: 2.5rem;
        display: block;
        margin-bottom: 10px;
        color: var(--primary-color);
    }

    .user-type-btn span {
        font-weight: 600;
        color: #333;
    }

    .form-label {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
    }

    .form-control, .form-select {
        border-radius: 10px;
        border: 2px solid #e0e0e0;
        padding: 12px 15px;
        font-size: 1rem;
        transition: all 0.3s;
    }

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(0, 119, 190, 0.25);
    }

    .input-group-text {
        border-radius: 10px 0 0 10px;
        border: 2px solid #e0e0e0;
        border-left: none;
        background: #f8f9fa;
    }


    .btn-register {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        border-radius: 10px;
        padding: 14px;
        font-weight: 700;
        font-size: 1.1rem;
        color: white;
        width: 100%;
        transition: all 0.3s;
        margin-top: 20px;
    }

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    }

    .alert {
        border-radius: 10px;
        border: none;
    }

    .password-toggle {
        cursor: pointer;
        color: #666;
    }

    .terms-checkbox {
        margin: 20px 0;
    }

    .terms-checkbox a {
        color: var(--primary-color);
        text-decoration: none;
    }

    .terms-checkbox a:hover {
        text-decoration: underline;
    }

    .login-link {
        text-align: center;
        margin-top: 25px;
        color: #666;
    }

    .login-link a {
        color: var(--primary-color);
        font-weight: 700;
        text-decoration: none;
    }

    .login-link a:hover {
        text-decoration: underline;
    }

    .back-home {
        text-align: center;
        margin-top: 20px;
    }

    .back-home a {
        color: white;
        text-decoration: none;
        font-weight: 600;
    }

    .back-home a:hover {
        text-decoration: underline;
    }

    .doctor-fields {
        display: none;
    }

    .doctor-fields.show {
        display: block;
    }

    .password-strength {
        height: 4px;
        background: #e0e0e0;
        border-radius: 2px;
        margin-top: 5px;
        overflow: hidden;
    }

    .password-strength-bar {
        height: 100%;
        width: 0%;
        transition: all 0.3s;
    }

    .password-strength-weak {
        background: #dc3545;
        width: 33%;
    }

    .password-strength-medium {
        background: #ffc107;
        width: 66%;
    }

    .password-strength-strong {
        background: #28a745;
        width: 100%;
    }

    .password-hint {
        font-size: 0.85rem;
        color: #666;
        margin-top: 5px;
    }

}


/************************************************** End Register Page ***********************************************/


/************************************************* Start Doctor Details ********************************************/


.doctor-details {
    background-color: #f8f9fa;
    padding-top: 76px;



    /* Doctor Header */
    .doctor-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 50px 0 30px;
    }

    .doctor-avatar-large {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        border: 5px solid white;
        object-fit: cover;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .doctor-name-large {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .doctor-specialty-large {
        font-size: 1.5rem;
        opacity: 0.95;
        margin-bottom: 20px;
    }

    .rating-large {
        font-size: 1.5rem;
        color: #ffc107;
    }

    .online-status {
        display: inline-block;
        padding: 8px 20px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 25px;
        font-weight: 600;
        margin-top: 15px;
    }

    .online-status.active {
        background: #00b894;
    }

    /* Info Cards */
    .info-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        margin-bottom: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .info-card h4 {
        color: var(--primary-color);
        margin-bottom: 20px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .info-item {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

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

    .info-label {
        color: #666;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .info-value {
        font-weight: 700;
        color: #333;
    }

    /* Pricing Card */
    .pricing-card {
        background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
        color: white;
        border-radius: 15px;
        padding: 30px;
        margin-bottom: 20px;
        box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
    }

    .price-item {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 15px;
    }

    .price-type {
        font-size: 1.1rem;
        margin-bottom: 10px;
        opacity: 0.95;
    }

    .price-amount {
        font-size: 2rem;
        font-weight: 800;
    }

    /* Reviews */
    .review-card {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 15px;
    }

    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .reviewer-name {
        font-weight: 700;
        color: #333;
    }

    .review-date {
        color: #999;
        font-size: 0.9rem;
    }

    .review-rating {
        color: #ffc107;
        margin-bottom: 10px;
    }

    .review-text {
        color: #666;
        line-height: 1.6;
    }

    /* Action Buttons */
    .action-buttons {
        position: sticky;
        bottom: 20px;
        background: white;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    }

    .btn-action {
        border-radius: 10px;
        padding: 15px;
        font-weight: 700;
        font-size: 1.1rem;
        width: 100%;
        margin-bottom: 10px;
        transition: all 0.3s;
    }

    .btn-action:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

    .btn-consult-chat {
        background: var(--primary-color);
        color: white;
        border: none;
    }

    .btn-consult-video {
        background: var(--secondary-color);
        color: white;
        border: none;
    }

    /* Stats */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }

    .stat-box {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
        font-weight: 800;
        color: var(--primary-color);
    }

    .stat-label {
        color: #666;
        font-size: 0.9rem;
    }

    /* Modal */
    .modal-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    @media (max-width: 768px) {
        .doctor-name-large {
            font-size: 1.8rem;
        }

        .doctor-specialty-large {
            font-size: 1.2rem;
        }
    }

}


/************************************************* End Doctor Details **********************************************/

/************************************************ Start Doctor Dashboard *******************************************/


.doctor-dashboard {


    background-color: #f8f9fa;
    padding-top: 76px;

    .navbar {
        background: white;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
        font-weight: 700;
        color: var(--primary-color) !important;
    }

    /* Header */
    .dashboard-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 40px 0;
        margin-bottom: 30px;
    }

    .doctor-info {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .doctor-avatar-large {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 4px solid white;
        object-fit: cover;
    }

    .welcome-text h2 {
        font-weight: 800;
        margin-bottom: 5px;
        color: #fff;
        font-size: 1.5rem;
    }

    .welcome-text p {
        opacity: 0.9;
        margin-bottom: 0;
        color: #fff;
    }

    /* Stats Cards */
    .stats-row {
        margin-bottom: 30px;
    }

    .stat-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s;
        height: 100%;
    }

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .stat-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
    }

    .stat-icon.primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .stat-icon.success {
        background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    }

    .stat-icon.warning {
        background: linear-gradient(135deg, #fdcb6e 0%, #ffeaa7 100%);
    }

    .stat-icon.danger {
        background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
    }

    .stat-value {
        font-size: 2.5rem;
        font-weight: 800;
        color: #333;
        line-height: 1;
    }

    .stat-label {
        color: #666;
        font-size: 0.95rem;
        margin-top: 5px;
    }

    .stat-change {
        font-size: 0.85rem;
        margin-top: 10px;
    }

    .stat-change.positive {
        color: #00b894;
    }

    .stat-change.negative {
        color: #d63031;
    }

    /* Card */
    .dashboard-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Profile Section */
    .profile-info {
        display: grid;
        gap: 15px;
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .info-row:last-child {
        border-bottom: none;
    }

    .info-label {
        color: #666;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .info-value {
        color: #333;
        font-weight: 600;
    }

    .btn-edit {
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 8px 15px;
        font-size: 0.9rem;
        cursor: pointer;
    }

    /* Tabs */
    .nav-tabs {
        border-bottom: 2px solid #e0e0e0;
    }

    .nav-tabs .nav-link {
        border: none;
        color: #666;
        font-weight: 600;
        padding: 12px 20px;
        transition: all 0.3s;
    }

    .nav-tabs .nav-link:hover {
        color: var(--primary-color);
    }

    .nav-tabs .nav-link.active {
        color: var(--primary-color);
        border-bottom: 3px solid var(--primary-color);
        background: none;
    }

    /* Table */
    .table-custom {
        background: white;
        border-radius: 10px;
        overflow: hidden;
    }

    .table-custom thead {
        background: #f8f9fa;
    }

    .table-custom th {
        font-weight: 700;
        color: #333;
        border-bottom: 2px solid #e0e0e0;
        padding: 15px;
    }

    .table-custom td {
        padding: 15px;
        vertical-align: middle;
    }

    .patient-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .status-badge {
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .status-pending {
        background: #fff3cd;
        color: #856404;
    }

    .status-completed {
        background: #d4edda;
        color: #155724;
    }

    .status-cancelled {
        background: #f8d7da;
        color: #721c24;
    }

    /* Switch */
    .availability-switch {
        display: flex;
        align-items: center;
        gap: 15px;
        background: #f8f9fa;
        padding: 15px;
        border-radius: 10px;
    }

    .form-switch .form-check-input {
        width: 3rem;
        height: 1.5rem;
        cursor: pointer;
    }

    .form-switch .form-check-input:checked {
        background-color: #0b6ffd;
        border-color: #0b6ffd;
    }

    @media (max-width: 768px) {
        .doctor-info {
            flex-direction: column;
            text-align: center;
        }

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

/************************************************ End Doctor Dashboard *********************************************/


/************************************************ Start Doctor Finance *********************************************/

.doctor-finances {

    background-color: #f8f9fa;
    padding-top: 76px;

    .navbar {
        background: white;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
        font-weight: 700;
        color: var(--primary-color) !important;
    }

    /* Header */
    .page-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 40px 0;
        margin-bottom: 30px;
    }

    .page-header h1 {
        font-weight: 800;
        margin-bottom: 5px;
    }

    /* Balance Cards */
    .balance-section {
        margin-bottom: 30px;
    }

    .balance-card {
        background: white;
        border-radius: 20px;
        padding: 10px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        height: 100%;
    }



    .balance-card.primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .balance-card.success {
        background: linear-gradient(135deg, #00b894 0%, #067c79 100%);
        color: white;
    }

    .balance-card.warning {
        background: linear-gradient(135deg, #fdcb6e 0%, #e5c04c 100%);
        color: white;
    }

    .balance-label {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 10px;
    }

    .balance-amount {
        font-size: 2rem;
        font-weight: 800;
        line-height: 1;
        margin-bottom: 15px;
    }

    .balance-subtitle {
        opacity: 0.8;
        font-size: 0.95rem;
    }

    .btn-withdraw {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.5);
        color: white;
        border-radius: 10px;
        padding: 10px 25px;
        font-weight: 600;
        margin-top: 15px;
    }

    .btn-withdraw:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: white;
        color: white;
    }

    /* Stats Cards */
    .stat-box {
        background: white;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        text-align: center;
        height: 100%;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
    }

    .stat-value {
        font-size: 2rem;
        font-weight: 800;
        color: #333;
        margin-bottom: 5px;
    }

    .stat-label {
        color: #666;
        font-size: 0.95rem;
    }

    /* Card */
    .finance-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Filters */
    .filters-bar {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    /* Table */
    .table-custom {
        background: white;
    }

    .table-custom thead {
        background: #f8f9fa;
    }

    .table-custom th {
        font-weight: 700;
        color: #333;
        border-bottom: 2px solid #e0e0e0;
        padding: 15px;
    }

    .table-custom td {
        padding: 15px;
        vertical-align: middle;
    }

    .transaction-type {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .type-income {
        background: #d4edda;
        color: #155724;
    }

    .type-expense {
        background: #f8d7da;
        color: #721c24;
    }

    .type-pending {
        background: #fff3cd;
        color: #856404;
    }

    .amount-positive {
        color: #00b894;
        font-weight: 700;
    }

    .amount-negative {
        color: #d63031;
        font-weight: 700;
    }

    /* Chart */
    .chart-container {
        height: 300px;
        margin-top: 20px;
    }

    /* Withdrawal List */
    .withdrawal-item {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .withdrawal-info {
        flex: 1;
    }

    .withdrawal-amount {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary-color);
    }

    .withdrawal-status {
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .status-completed {
        background: #d4edda;
        color: #155724;
    }

    .status-pending {
        background: #fff3cd;
        color: #856404;
    }

    .status-rejected {
        background: #f8d7da;
        color: #721c24;
    }

    @media (max-width: 768px) {
        .balance-amount {
            font-size: 2rem;
        }
    }

}

/************************************************ End Doctor Finance **********************************************/


/*********************************************** Start Patient Profile *******************************************/


.patient-dashboard {

    background-color: #f8f9fa;
    padding-top: 76px;


    /* Header */
    .page-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 40px 0;
        margin-bottom: 30px;
    }

    .page-header h1 {
        font-weight: 800;
        margin-bottom: 5px;
    }

    /* Summary Cards */
    .summary-card {
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        position: relative;
        overflow: hidden;
    }

    .summary-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
    }

    .summary-card.primary::before {
        background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    }

    .summary-card.success::before {
        background: linear-gradient(180deg, #00b894 0%, #00cec9 100%);
    }

    .summary-card.warning::before {
        background: linear-gradient(180deg, #fdcb6e 0%, #ffeaa7 100%);
    }

    .summary-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .summary-icon.primary {
        background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
        color: #667eea;
    }

    .summary-icon.success {
        background: linear-gradient(135deg, #00b89415 0%, #00cec915 100%);
        color: #00b894;
    }

    .summary-icon.warning {
        background: linear-gradient(135deg, #fdcb6e15 0%, #ffeaa715 100%);
        color: #fdcb6e;
    }

    .summary-label {
        color: #666;
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .summary-value {
        font-size: 2.5rem;
        font-weight: 800;
        color: #333;
        line-height: 1;
    }

    /* Card */
    .finance-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Payment Methods */
    .payment-method-card {
        background: #f8f9fa;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s;
    }

    .payment-method-card:hover {
        border-color: var(--primary-color);
        background: white;
    }

    .payment-method-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .payment-method-icon {
        width: 50px;
        height: 50px;
        background: var(--primary-color);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
    }

    .payment-method-badge {
        background: #00b894;
        color: white;
        padding: 3px 10px;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    /* Table */
    .table-custom {
        background: white;
    }

    .table-custom thead {
        background: #f8f9fa;
    }

    .table-custom th {
        font-weight: 700;
        color: #333;
        border-bottom: 2px solid #e0e0e0;
        padding: 15px;
    }

    .table-custom td {
        padding: 15px;
        vertical-align: middle;
    }

    .doctor-avatar-small {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .payment-status {
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .status-paid {
        background: #d4edda;
        color: #155724;
    }

    .status-pending {
        background: #fff3cd;
        color: #856404;
    }

    .status-refunded {
        background: #d1ecf1;
        color: #0c5460;
    }

    .status-completed {
        background: #d4edda;
        color: #155724;
    }

    /* Chart Placeholder */
    .chart-placeholder {
        height: 250px;
        background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-weight: 600;
    }

    /* Recent Doctors */
    .doctor-item {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .doctor-item-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .doctor-item-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }

    .doctor-item-amount {
        font-weight: 800;
        color: var(--primary-color);
        font-size: 1.2rem;
    }

    @media (max-width: 768px) {
        .summary-value {
            font-size: 2rem;
        }
    }

}

/*********************************************** End Patient Profile *******************************************/


/************************************************ Start Chat Page ***********************/

.chat-page {

    background-color: #f0f2f5;
    padding-top: 76px;

    .navbar {
        background: white;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
        font-weight: 700;
        color: var(--primary-color) !important;
    }

    /* Chat Container */
    .chat-container {
        height: calc(100vh - 76px);
        display: flex;
        flex-direction: column;
    }

    /* Doctor Info Bar */
    .doctor-info-bar {
        background: white;
        padding: 15px 20px;
        border-bottom: 2px solid #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .doctor-info-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .doctor-avatar-chat {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--primary-color);
    }

    .doctor-details {
        flex: 1;
    }

    .doctor-name-chat {
        font-weight: 700;
        color: #333;
        margin-bottom: 2px;
    }

    .doctor-status {
        font-size: 0.85rem;
        color: #666;
    }

    .online-indicator {
        width: 10px;
        height: 10px;
        background: #00b894;
        border-radius: 50%;
        display: inline-block;
        margin-left: 5px;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0%, 100% {
            opacity: 1;
        }

        50% {
            opacity: 0.5;
        }
    }

    /* Payment Status */
    .payment-status {
        background: #fff3cd;
        border: 2px solid #ffc107;
        border-radius: 10px;
        padding: 15px;
        margin: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .payment-status.paid {
        background: #d4edda;
        border-color: #28a745;
    }

    .payment-info {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Messages Area */
    .messages-area {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        background: #f0f2f5;
    }

    .message {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-end;
        gap: 10px;
    }

    .message.sent {
        flex-direction: row-reverse;
    }

    .message-avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
    }

    .message-content {
        max-width: 70%;
        position: relative;
    }

    .message-bubble {
        background: white;
        border-radius: 15px;
        padding: 12px 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .message.sent .message-bubble {
        background: var(--primary-color);
        color: white;
    }

    .message-text {
        word-wrap: break-word;
        line-height: 1.5;
    }

    .message-time {
        font-size: 0.75rem;
        color: #999;
        margin-top: 5px;
        text-align: left;
    }

    .message.sent .message-time {
        text-align: right;
        color: rgba(255, 255, 255, 0.7);
    }

    /* File Messages */
    .file-message {
        background: #f8f9fa;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        padding: 15px;
        margin-top: 8px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .file-icon {
        width: 50px;
        height: 50px;
        background: var(--primary-color);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
    }

    .file-info {
        flex: 1;
    }

    .file-name {
        font-weight: 600;
        color: #333;
        margin-bottom: 3px;
    }

    .file-size {
        font-size: 0.85rem;
        color: #666;
    }

    .file-download {
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 8px 15px;
        font-size: 0.9rem;
        cursor: pointer;
    }

    /* Audio Message */
    .audio-message {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 10px 15px;
        margin-top: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .audio-player {
        flex: 1;
        /* max-width: 300px; */
    }

    /* Video Message */
    .video-message {
        margin-top: 8px;
        border-radius: 10px;
        overflow: hidden;
    }

    .video-message video {
        width: 100%;
        max-width: 400px;
        border-radius: 10px;
    }

    /* Image Message */
    .image-message {
        margin-top: 8px;
    }

    .image-message img {
        max-width: 100%;
        max-height: 300px;
        border-radius: 10px;
        cursor: pointer;
    }

    /* Input Area */
    .input-area {
        background: white;
        padding: 15px 20px;
        border-top: 2px solid #e0e0e0;
    }

    .input-group-custom {
        display: flex;
        gap: 10px;
        align-items: flex-end;
    }

    .message-input {
        flex: 1;
        border: 2px solid #e0e0e0;
        border-radius: 25px;
        padding: 12px 20px;
        font-size: 1rem;
        resize: none;
        max-height: 100px;
    }

    .message-input:focus {
        outline: none;
        border-color: var(--primary-color);
    }

    .input-buttons {
        display: flex;
        gap: 5px;
    }

    .btn-icon {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        border: none;
        background: #f0f2f5;
        color: #666;
        font-size: 1.3rem;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-icon:hover {
        background: var(--primary-color);
        color: white;
    }

    .btn-send {
        background: var(--primary-color);
        color: white;
    }

    .btn-send:hover {
        background: #005a8f;
    }

    /* Typing Indicator */
    .typing-indicator {
        display: none;
        padding: 10px 15px;
        background: white;
        border-radius: 15px;
        width: fit-content;
        margin-bottom: 15px;
    }

    .typing-indicator.show {
        display: block;
    }

    .typing-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #999;
        margin: 0 2px;
        animation: typing 1.4s infinite;
    }

    .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes typing {
        0%, 60%, 100% {
            transform: translateY(0);
        }

        30% {
            transform: translateY(-10px);
        }
    }

    /* Payment Modal */
    .payment-modal {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-radius: 15px;
        padding: 30px;
    }

    .payment-amount {
        font-size: 3rem;
        font-weight: 800;
        margin: 20px 0;
    }

    .payment-methods {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 20px;
    }

    .payment-method {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .payment-method:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: white;
    }

    .payment-method i {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    /* File Upload Progress */
    .upload-progress {
        background: white;
        border-radius: 10px;
        padding: 15px;
        margin: 10px 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .progress {
        height: 25px;
        border-radius: 10px;
    }

    @media (max-width: 768px) {
        .message-content {
            max-width: 85%;
        }
    }

}


/************************************************ End Chat Page ***********************/

/********************************************** Start Public Class *******************/
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


@media(max-width:991px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        margin: 5px;
        padding: 10px 15px;
        font-size: 14px;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-text {
        font-size: 14px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-section .buttons a {
        font-size: 16px;
        padding: 10px;
    }
}


nav .dropdown-toggle {
    background-color: #fff;
    border: none;
}

nav .dropdown-toggle::after {
    display: none;
}

nav .dropdown-toggle i {
    font-size: 22px;
    position: relative;
    top: 4px;
    color: #444444;
}

nav .dropdown-toggle .count {
    position: absolute;
    top: -5px;
    right: -2px;
    background: #df1010;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
}

.offcanvas {
    height: 100vh;
    max-width: 80%;
}

.offcanvas-body ul {
    padding-right: 0;
    margin-right: 0;
}

.offcanvas .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
    border-bottom: 1px solid #f6f6f6;
}

/* .offcanvas-backdrop{
    background-color: #fff;
}

.offcanvas-backdrop.show{
    opacity: 1;
} */
