/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

body:not(i) {
    font-family: 'Jost' !important;
}

/* This is Login, Register, Reset-password and Forgot-password Pages Css */
section#register-section-id {
    padding: 80px 0px;
}

.section-class .container {
    max-width: 1250px;
    margin: 0 auto;
}

.inner-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.inner-wrapper .form-wrapper {
    padding: 32px;
    border-radius: 12px;
    position: relative;
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

form.template-form-class .input-effect {
    position: relative;
}

.field-block {
    margin-bottom: 10px;
}

form.template-form-class .input-effect .icon {
    position: absolute;
    top: 8px;
    left: 12px;
    z-index: 99;
}

form.template-form-class input.styles-input {
    height: 40px;
    padding: 8px 10px 8px 40px !important;
    border-radius: 6px;
    border: 1px solid rgb(128 128 128 / 56%) !important;
    position: relative;
    color: gray;
    font-size: 14px;
}

form.template-form-class .input-effect .icon i {
    font-size: 14px;
    color: #b3b3b3;
}

.field-block .eye-icon {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 100;
}

.field-block .eye-icon i {
    font-size: 10px;
    color: #b3b3b3;
    cursor: pointer;
}

.form-wrapper h2 {
    margin: 0 0 28px;
    text-transform: capitalize;
    background: linear-gradient(to right, #673AB7, #9C27B0, #E91E63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px;
    font-weight: bold;
    text-align: left;
}

.form-btn {
    margin: 20px 0 15px;
}

.form-btn input[type="submit"] {
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    padding: 12px 20px;
    line-height: normal;
    background: linear-gradient(to right, #673AB7, #9C27B0, #E91E63);
    color: #fff;
    border: unset;
    transition: all 0.3s linear;
    font-weight: 600;
}

body form.template-form-class input:focus {
    border: 1px solid #683ab7 !important;
}

label.form-link-class {
    text-align: center;
    display: block;
    width: 100%;
    font-size: 14px;
    margin: 25px 0 0;
    font-weight: 500;
}

label.form-link-class a {
    color: #7136b5;
    text-decoration: underline;
}

.inner-wrapper .form-wrapper::before {
    content: '';
    width: 100%;
    height: 7px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #673AB7, #9C27B0, #E91E63);
    border-radius: 12px 12px 0 0;
}

.form-btn input[type="submit"]:hover {
    background: linear-gradient(to left, #673AB7, #9C27B0, #E91E63);
}

.field-block i.fa-solid.fa-eye {
    color: #79d779;
}

a.link-class-href {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 13px;
    margin: 0 0 2px;
    color: #635bff;
}

.rembereme {
    margin: 0 4px 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

form.template-form-class .input-effect label {
    display: none;
}

form.template-form-class input.styles-input.error {
    border-color: red !important;
}

form.template-form-class input.styles-input.error~label.error {
    font-size: 11px;
    color: red;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: normal;
    margin: -4px 4px 0;
}

:root {
    --primary: #673AB7;
    --primary-dark: #9C27B0;
    --secondary: #10B981;
    --accent: #F59E0B;
    --light: #F9FAFB;
    --dark: #1F2937;
    --gray: #6B7280;
    --border: #E5E7EB;
    --shadow: rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #F3F4F6;
    color: var(--dark);
    line-height: 1.6;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px var(--shadow);
    position: relative;
    transition: width 0.3s ease;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.1;
    z-index: 0;
}

.sidebar-toggle {
    position: absolute;
    top: 20px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow);
    z-index: 10;
    border: 2px solid #693ab7;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    transform: scale(1.1);
}

.sidebar-toggle i {
    color: var(--primary);
    font-size: 16px;
}

.sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
    margin-bottom: 30px;
}

.logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo i {
    color: var(--primary);
    font-size: 24px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    margin-left: 15px;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .logo-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
    margin: 0;
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.sidebar.collapsed .user-profile {
    justify-content: center;
    background: transparent !important;
    padding: 0 !important;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sidebar.collapsed .user-avatar {
    width: 40px;
    height: 40px;
}

.user-avatar i {
    color: var(--primary);
    font-size: 24px;
}

.sidebar.collapsed .user-avatar i {
    font-size: 20px;
}

.user-info {
    margin-left: 15px;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .user-info {
    opacity: 0;
    width: 0;
    overflow: hidden;
    margin-left: 0;
}

.user-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.user-info p {
    font-size: 14px;
    opacity: 0.8;
}

.nav-menu {
    list-style: none;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.nav-item {
    margin-bottom: 8px;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 14px 10px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link i {
    font-size: 20px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
    transition: margin 0.3s ease;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
}

.nav-link span {
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .nav-link span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar.collapsed .nav-item::after {
    content: attr(data-title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 15px;
    padding: 8px 12px;
    background: var(--dark);
    color: white;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

.sidebar.collapsed .nav-item:hover::after {
    opacity: 1;
    visibility: visible;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-footer {
    padding-top: 10px;
}

.logout-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    background: #111;
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: left;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.sidebar.collapsed .logout-btn {
    justify-content: center;
    padding: 12px 10px;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.logout-btn i {
    margin-right: 12px;
    transition: margin 0.3s ease;
}

.sidebar.collapsed .logout-btn i {
    margin-right: 0;
}

.logout-btn span {
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .logout-btn span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 30px;
    transition: margin-left 0.3s ease;
    overflow: visible;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

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

.notification-btn {
    position: relative;
    background: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.notification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.notification-btn i {
    color: var(--gray);
    font-size: 20px;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.user-menu {
    position: relative;
}

.user-menu-button {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 8px 18px 8px 10px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
    color: #fff;
}

.user-menu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.user-menu img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-menu span {
    font-weight: 600;
    margin-right: 5px;
}

.user-menu i {
    color: #fff;
    font-size: 13px;
    transition: transform 0.3s ease;
    margin-left: 6px;
    position: relative;
    top: 1px;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 200px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.user-menu.active .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu.active .user-menu-button i {
    transform: rotate(180deg);
}

.user-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-menu-item:hover {
    background: var(--light);
}

.user-menu-item i {
    margin-right: 10px;
    color: var(--gray);
    width: 20px;
    text-align: center;
}

.user-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 5px 0;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow);
}

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

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-icon.blue {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.card-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.card-icon.amber {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
}

.card-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.card-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-description {
    color: var(--gray);
    font-size: 14px;
}

.card-action {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
}

/* Content Section */
.content-section {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 4px 12px var(--shadow);
    margin-bottom: 30px;
}

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

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.section-action {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.section-action:hover {
    background: var(--primary-dark);
}

.section-action i {
    margin-left: 8px;
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--gray);
    font-size: 14px;
    text-transform: uppercase;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: var(--light);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
}

.status-badge.cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.table-actions {
    display: flex;
}

.action-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--light);
}

.action-btn i {
    color: var(--gray);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--gray);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        width: 220px;
    }

    .sidebar.collapsed {
        width: 70px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 20px;
    }

    .sidebar.collapsed {
        width: 100%;
    }

    .sidebar.collapsed .nav-item::after {
        display: none;
    }

    .main-content {
        padding: 20px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        margin-top: 15px;
        width: 100%;
        justify-content: space-between;
    }
}

        .dashboard-block {
            background: white;
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: 0 4px 12px var(--shadow);
            margin-bottom: 30px;
        }

        .dashboard-title {
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border);
        }

        .dashboard-title h4 {
            font-size: 22px;
            font-weight: 700;
            color: var(--dark);
            position: relative;
            padding-left: 15px;
        }

        .dashboard-title h4::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 24px;
            background: var(--primary);
            border-radius: 3px;
        }

        /* Profile Form Styles */
        .profile-image-block {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 25px;
            background: var(--light);
            border-radius: var(--radius);
            margin-bottom: 30px;
            position: relative;
            border: 2px dashed var(--border);
            transition: all 0.3s ease;
        }

        .profile-image-block:hover {
            border-color: var(--primary);
            background: rgba(79, 70, 229, 0.05);
        }

        .current-profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid white;
            box-shadow: 0 4px 12px var(--shadow);
            margin-bottom: 15px;
        }

        .profile-icons {
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .profile-icons:hover {
            background: var(--primary-dark);
            transform: scale(1.1);
        }

        .profile-icons i {
            font-size: 18px;
        }

        #user-profile-image-id {
            display: none;
        }

        .profile-image-block label {
            color: var(--gray);
            font-size: 14px;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .profile-image-block:hover label {
            color: var(--primary);
        }

        .field-flex-class {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px;
            margin-bottom: 25px;
        }

        .field-flex-item {
            flex: 1;
            min-width: 250px;
            padding: 0 10px;
            margin-bottom: 20px;
        }

        .field-flex-item label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }

        .field-flex-item input,
        .field-flex-item textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .field-flex-item input:focus,
        .field-flex-item textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }

        .aboutBlock {
            margin-bottom: 25px;
        }

        .aboutBlock label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }

        .aboutBlock textarea {
            width: 100%;
            min-height: 120px;
            padding: 12px 15px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            resize: vertical;
        }

        .aboutBlock textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }

        .form-btn {
            text-align: right;
        }

        .form-btn input[type="submit"] {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .form-btn input[type="submit"]:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
        }

        /* Password Form Styles */
        .password-input-wrapper {
            position: relative;
        }

        .eye-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .eye-icon:hover {
            color: var(--primary);
        }

        /* Message Box Styles */
        .message-box {
            border-radius: var(--radius);
            padding: 15px;
            margin-bottom: 20px;
            font-weight: 500;
            text-align: center;
            animation: fadeIn 0.5s ease;
        }

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

        /* Responsive Design */
        @media (max-width: 992px) {
            .sidebar {
                width: 220px;
            }
            
            .sidebar.collapsed {
                width: 70px;
            }
        }

        @media (max-width: 768px) {
            .dashboard-container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                padding: 20px;
            }
            
            .sidebar.collapsed {
                width: 100%;
            }
            
            .sidebar.collapsed .nav-item::after {
                display: none;
            }
            
            .main-content {
                padding: 20px;
            }
            
            .field-flex-item {
                min-width: 100%;
            }
            
            .dashboard-block {
                padding: 20px;
            }
            
            .header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .header-actions {
                margin-top: 15px;
                width: 100%;
                justify-content: space-between;
            }
        }
        
        .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
}

.main-content {
    margin-left: 260px; /* Default sidebar width */
    width: calc(100% - 260px);
    min-height: 100vh;
    overflow-y: auto;
}

/* When sidebar is collapsed */
.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed + .main-content {
    margin-left: 80px;
    width: calc(100% - 80px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        height: auto;
        width: 100%;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar.collapsed {
        width: 100%;
    }
    
    .sidebar.collapsed + .main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* Doctor Filters Section */
.doctor-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-container {
    flex: 1;
    min-width: 250px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
}

.category-filter {
    min-width: 200px;
}

.custom-select {
    position: relative;
}

.custom-select select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.custom-select select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.custom-select::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gray);
}

/* Doctor Cards Grid */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.doctor-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--primary);
}

.doctor-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.doctor-status.available {
    background-color: var(--secondary);
}

.doctor-status.busy {
    background-color: var(--accent);
}

.doctor-info {
    padding: 18px;
}

.doctor-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark);
}

.doctor-info .specialty {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.doctor-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.doctor-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray);
}

.doctor-meta i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.consultation-fee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.consultation-fee span {
    font-size: 14px;
    color: var(--gray);
}

.consultation-fee strong {
    font-size: 18px;
    color: var(--primary);
}

.select-doctor-btn {
    width: 48%;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s linear;
    display: inline-block;
    text-align: center;
    margin-right: 11px;
    text-decoration: unset;
}

.select-doctor-btn:hover {
    background: linear-gradient(15deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.no-results-message i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--border);
}

.no-results-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: white;
    color: var(--gray);
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5 !important;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--light);
    color: var(--primary);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: 1px solid #fff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .doctor-filters {
        flex-direction: column;
    }
    
    .search-container,
    .category-filter {
        width: 100%;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}
.dcotor-detail {margin-right: 0 !important;}


/* Selected Doctor Info */
.selected-doctor-info {
    display: flex;
    align-items: center;
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.doctor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-details h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark);
}

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

.doctor-meta {
    display: flex;
    gap: 15px;
}

.doctor-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray);
}

.doctor-meta i {
    margin-right: 5px;
}

/* Treatment Filters */
.treatment-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Treatment Cards Grid */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.treatment-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--primary);
}

.treatment-card.selected {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.treatment-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-image img {
    transform: scale(1.05);
}

.treatment-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.treatment-badge.diagnostic {
    background-color: #3B82F6;
}

.treatment-badge.therapeutic {
    background-color: #10B981;
}

.treatment-badge.surgical {
    background-color: #EF4444;
}

.treatment-badge.preventive {
    background-color: #8B5CF6;
}

.treatment-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.treatment-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.treatment-info p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.treatment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.treatment-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray);
}

.treatment-meta i {
    margin-right: 5px;
}

.select-treatment-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-treatment-btn:hover {
    background: var(--primary-dark);
}

.treatment-card.selected .select-treatment-btn {
    background: var(--secondary);
}

/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.no-results-message i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--border);
}

.no-results-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

/* Selected Treatments Summary */
.selected-treatments-summary {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}

.selected-treatments-summary h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    padding-left: 15px;
}

.selected-treatments-summary h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 18px;
    background: var(--primary);
    border-radius: 3px;
}

.selected-treatments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.selected-treatment-item {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 15px;
}

.selected-treatment-item span {
    margin-right: 8px;
    font-size: 14px;
}

.selected-treatment-item i {
    color: var(--gray);
    cursor: pointer;
    font-size: 12px;
}

.selected-treatment-item i:hover {
    color: var(--dark);
}

.selected-treatments-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-secondary, .btn-primary {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-secondary {
    background: white;
    color: var(--gray);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--light);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .selected-doctor-info {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .doctor-meta {
        justify-content: center;
    }
    
    .treatment-filters {
        flex-direction: column;
    }
    
    .search-container,
    .category-filter {
        width: 100%;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    
    .selected-treatments-actions {
        flex-direction: column;
    }
    
    .btn-secondary, .btn-primary {
        width: 100%;
    }
}


/* Calendar Styles */
.calendar-wrapper {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
    overflow: hidden;
}

#appointment-calendar {
    max-height: 400px;
}

.fc-theme-standard .fc-scrollgrid {
    border-color: var(--border);
}

.fc-theme-standard th {
    background: var(--light);
    color: var(--dark);
    border-color: var(--border);
    font-weight: 600;
    padding: 10px 0;
}

.fc-theme-standard td {
    border-color: var(--border);
}

.fc-daygrid-day.fc-day-today {
    background-color: rgba(79, 70, 229, 0.1);
}

.fc-daygrid-day-number {
    padding: 8px;
    font-weight: 500;
}

.fc-event {
    border: none;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.fc-daygrid-event {
    margin: 1px;
}

.fc-h-event {
    background-color: var(--primary);
    border: none;
}

.fc-bg-event {
    opacity: 0.3;
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    border-top: 1px solid var(--border);
    background: var(--light);
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 8px;
}

.legend-color.available {
    background-color: var(--secondary);
}

.legend-color.limited {
    background-color: var(--accent);
}

.legend-color.full {
    background-color: #EF4444;
}

.legend-color.unavailable {
    background-color: var(--gray);
}

/* Time Slots Header */
.time-slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.selected-date-display {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
}

.selected-date-display i {
    margin-right: 8px;
    color: var(--primary);
}

.time-slots-filter {
    display: flex;
    gap: 5px;
}

.filter-btn {
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    min-height: 300px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
    padding: 20px;
}

.time-slot {
    padding: 12px 8px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
    z-index: 0;
}

.time-slot:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.time-slot.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.time-slot.selected::before {
    width: 100%;
}

.time-slot.unavailable {
    background: var(--light);
    color: var(--gray);
    cursor: not-allowed;
    opacity: 0.6;
    border-style: dashed;
}

.time-slot.limited {
    border-color: var(--accent);
    color: var(--accent);
}

.time-slot.limited::after {
    content: 'Limited';
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
}

.no-slots-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-slots-message i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--border);
}

.no-slots-message p {
    font-size: 16px;
    margin: 0;
}

/* Input with icon */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.input-with-icon input {
    padding-left: 45px;
}

/* Custom select styling */
.custom-select {
    position: relative;
}

.custom-select select {
    appearance: none;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.custom-select::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gray);
}

/* Form styling */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input[readonly] {
    background: var(--light);
    color: var(--dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 10px;
}

.btn-secondary,
.btn-primary {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-secondary {
    background: var(--light);
    color: var(--gray);
}

.btn-secondary:hover {
    background: var(--border);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

/* Confirmation Modal */
.confirmation-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirmation-icon i {
    font-size: 40px;
}

.appointment-summary {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    margin-bottom: 12px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-label {
    width: 150px;
    font-weight: 600;
    color: var(--gray);
}

.summary-value {
    flex: 1;
    color: var(--dark);
}

.appointment-instructions {
    margin-top: 20px;
}

.appointment-instructions h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark);
}

.appointment-instructions ul {
    padding-left: 20px;
}

.appointment-instructions li {
    margin-bottom: 8px;
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .appointment-booking-container {
        flex-direction: column;
    }
    
    .calendar-legend {
        justify-content: center;
    }
    
    .time-slots-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .time-slots-filter {
        width: 100%;
        justify-content: center;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
    
    .summary-row {
        flex-direction: column;
    }
    
    .summary-label {
        width: 100%;
        margin-bottom: 5px;
    }
}



