@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Changa:wght@200..800&display=swap");

/* :root{

    --fourth-color: #65a3d4;
    --text-color: #051a2d;
    --bg-color: #dbe9f4;
    --white-color: #ffffff;
    --black-color: #000200;
    --arabic-font: "Tajawal", sans-serif;
    --Poppins-font: "Poppins", serif;
    --cervy-font: "Courgette", cursive;
    --transition: all 0.3s ease-in-out;
    --border-color: rgb(238, 238, 238);
    --border-radius: 10px;
} */
:root {
    --color-bg: #eff3ff;
    --color-card: #ffffff;
    --color-text: #111827;
    --color-text-secondary: #3b3e44;
    --color-primary: #263465;
    --color-success: #295fa8;
    --color-warning: #e2cbab;
    --color-error: #ef4444;
    --color-info: #0edce3;
    --primary-font: "Changa", sans-serif;
    --Tajawal-font: "Tajawal", sans-serif;
    --color-border: #e5e7eb;
    --color-shadow: rgba(0, 0, 0, 0.05);
    --white-color: #ffffff;
    --transition: 0.3s ease-in-out;
}

[data-theme="dark"] {
    --color-bg: #0f172a;
    --color-card: #1e293b;
    --color-text: #f1f5f9;
    --color-text-secondary: #dfe7f0;
    --primary-font: "Tajawal", sans-serif;
    --color-primary: #0a6cb5;
    --color-success: #295fa8;
    --color-warning: #e2cbab;
    --color-error: #ef4444;
    --color-info: #0edce3;
    --color-border: #334155;
    --color-shadow: rgba(0, 0, 0, 0.2);
    --white-color: #000000;
    --transition: 0.3s ease-in-out;
}



.badge{
    font-size: 14px;
    font-weight: 400;
}
.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: inline;
}

::-webkit-scrollbar {
    width: 5px;
    opacity: 0;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
}

* {
    /* transition: var(--transition); */
    font-family: var(--primary-font);
}

body {
    text-align: right;
    background: var(--white-color);
    transition: background-color 0.3s, color 0.3s;
}

h1 {
    font-size: 25px;
    font-weight: 500;
}

h2 {
    font-size: 23px;
    font-weight: 500;
}

h3 {
    font-size: 19px;
    font-weight: 500;
}

h4 {
    font-size: 17px;
    font-weight: 500;
}

h5 {
    font-size: 15px;
    font-weight: 500;
}

h6 {
    font-size: 14px;
    font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    transition: var(--transition);
    color: var(--color-text);
}

hr {
    border-color: var(--color-border);
}

.card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px var(--color-shadow);
    padding: 10px 13px;
    border-radius: 18px;
    transition: var(--transition);
    margin-top: 15px;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.btn {
    padding: 12px 12px;
    border-radius: 10px;
    border: none;
    color: #ffffff !important;
    font-weight: 500;
    cursor: pointer;
    margin: 5px;
    max-width: max-content;
    display: flex;
    align-items: center;
    transition: var(--transition);
    gap: 7px;
    line-height: 1rem;
}

.btn_padding {
    padding: 6px 10px;
}

.btn_primary {
    background-color: var(--color-primary);
}

.btn_success {
    background-color: var(--color-success);
}

.btn_warning {
    background-color: var(--color-warning);
    color: #111827 !important;
}

.btn_error {
    background-color: var(--color-error);
}

.btn_info {
    background-color: var(--color-info);
    color: #111827 !important;
}

.btn_primary:focus {
    box-shadow: 0 0 0 .2rem #0087347b;
}

.btn_success:focus {
    box-shadow: 0 0 0 .2rem #295fa87b;
}

.btn_warning:focus {
    box-shadow: 0 0 0 .2rem #e2cbab7b;
}

.btn_error:focus {
    box-shadow: 0 0 0 .2rem #ef44447b;
}

.btn_info:focus {
    box-shadow: 0 0 0 .2rem #0edce37b;
}

/* .alert {
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-weight: bold;
}

.alert_success { background-color: var(--color-success); color: white; }
.alert_warning { background-color: var(--color-warning); color: #111827; }
.alert_error   { background-color: var(--color-error); color: white; }
.alert_info    { background-color: var(--color-info); color: white; }
   */
.subtitle,
.description,
.copyright_text,
.made_with_text {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.copyright_text,
.made_with_text {
    font-size: 14px;
}


a {
    text-decoration: none !important;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}





/* Side Bar */
.side_bar {
    width: 300px;
    height: 100vh;
    background-color: var(--color-card);
    /*border: 1px solid var(--color-border);*/
    /*box-shadow: 0 2px 4px var(--color-shadow);*/
    padding: 0 10px;
    border-radius: 0;
    transition: var(--transition);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    position: relative;
}

.side_bar {
    transform: translateX(0);
}

.side_bar.active {
    transform: translateX(100%);
    transition: var(--transition);
}

.fixed_right {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 1001;
}

.sideBar_header {
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--color-card);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.link_abs {
    position: absolute;
    inset: 0;
}

.sideBar_header_logo {
    width: 100px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 10px;
    background-color: var(--color-card);
    border: 0 solid var(--color-border);
    /*box-shadow: 0 2px 4px var(--color-shadow);*/
}

.sideBar_header_logo img {
    width: 100%;
    height: auto;
}

.logo_title h1 {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
}

.logo_title .subtitle {
    font-weight: 500;
    font-size: 14px;
}

.sidebar_content {
    /*max-height: 640px;*/
    overflow-y: auto;
}

.sidebar_content_list {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 1px;
}

.sidebar_content_item {
    flex-direction: column;
    display: flex;
}


    .sidebar_content_item a {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: start;
        gap: 10px;
        padding: .7rem 0.9rem;
        font-size: 16px;
        font-weight: 500;
        color: var(--color-text-secondary);
        transition: var(--transition);
        background: transparent;
        border-radius: 9px;
        /* border: 1px solid var(--color-border); */
        position: relative;
    }

        .sidebar_content_item a.activePage {
            color: var(--white-color);
            background: linear-gradient(90deg, #295fa8, #263465);
            background: linear-gradient(60deg, #295fa8, var(--color-primary));
        }

        .sidebar_content_item a:hover {
            color: var(--color-primary);
            background: var(--color-bg);
        }

.sidebar_content_item a i,
.dropdown_user_item a i {
    font-size: 18px;
    color: var(--color-warning);
}

.fa-angle-down {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    color: var(--color-success) !important;
}

.sidebar_content_item .dropdown-menu {
    position: static !important;
    transform: none !important;
    min-width: 95%;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 9px;
    box-shadow: 0 2px 4px var(--color-shadow);
    padding: 0;
    margin: 10px auto 0;
}

.sidebar_content_item .dropdown-menu.show {
    flex-direction: column;
    display: flex !important;
}





.sidebar_content_footer {
    /* position: absolute; */
    /* bottom: 0; */
    /* left: 0; */
    /* right: 0; */
    margin-top: 20px;
    padding: 10px;
    border-radius: 0;
    border-top: 1px solid var(--color-border);
    /* z-index: 1005; */
}

.copyright_social {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

    .copyright_social a {
        width: 30px;
        height: 30px;
        border-radius: 5px;
        font-size: 14px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--color-primary);
        color: var(--color-warning);
        transition: var(--transition);
    }

.copyright_social a:hover {
    background: var(--color-bg);
}

.made_with {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--color-border);
    padding-top: 10px;
}

.made_with_text {
    margin-bottom: 2px;
}

.made_with_text a {
    color: var(--color-error);
    font-weight: 500;
}





/* main */
main {
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    padding: 0 0 15px;
    transition: var(--transition);
    padding-right: 305px;
}
.main_content {
    background: var(--color-bg);
    border-radius: 15px;
    padding: 15px;
}
.header_main {
    padding: 15px 5px;
    background-color: var(--color-card);
    /*box-shadow: 0 2px 4px var(--color-shadow);*/
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fixed_header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.btn_icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0 5px;
    font-size: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px var(--color-shadow);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form_header_search {
    max-width: 400px;
    width: 100%;
    margin-right: auto;
}

.form_search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 9px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px var(--color-shadow);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    padding: 0;
}

.form_search:has(.input_search:focus) {
    border-color: var(--color-primary);
}

.input_search {
    border: 0;
    outline: 0;
    transition: var(--transition);
    box-shadow: none;
    padding-left: 50px;
}

.btn_search {
    position: absolute;
    top: -1px;
    bottom: -1px;
    border-radius: 9px !important;
    left: -1px;
    margin: 0;
    border-color: var(--color-primary);
    width: 36px;
    height: 105%;
}


.header_main_elements_left {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4rem;
}

.header_main_elements_left .btn {
    margin: 0.2rem;
}

/* dropdown user */
.button_profile_header,
.button_user_header {
    background: transparent !important;
    border: 0 !important;
    color: var(--color-success) !important;
    box-shadow: none !important;
    padding: 0.5rem;
    width: 45px;
    height: 45px;
    max-width: none;
    border-radius: 50%;
    /*box-shadow: 0 2px 3px rgba(4,4,7,.2) !important;*/
}

    
.dropdown_menu_user {
    padding: 15px 0px 2px;
    min-width: 240px;
    border-width: 0px;
    box-shadow: rgba(8, 21, 66, 0.05) 0px 0px 37px;
    overflow: hidden;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 9px;
}

.user_data {
    display: flex;
    align-items: center;
    justify-content: start;
    background: var(--color-card) !important;
    gap: 10px;
    padding: 0.5rem 1.25rem !important;
    border-bottom: 1px solid var(--color-border);
}

.user_info {
    text-align: right;
}

.user_name {
    font-size: 16px;
}

.user_email {
    color: var(--color-text);
    font-size: 14px;
}

.dropdown_user_item {
    text-align: right;
    padding: 0 ;
    margin: 0;
    background: transparent !important;
}
    

    .dropdown_user_item a {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: start;
        gap: 10px;
        padding: 0.8rem ;
        font-size: 13px;
        color: var(--color-text-secondary);
        transition: var(--transition);
        background: transparent;
        border-radius: 0;
        border-bottom: 1px solid var(--color-border);
    }

.dropdown-item {
    white-space: normal;
}

.dropdown_user_item a:hover {
    color: var(--color-primary);
    background: var(--color-bg);
}

.logout_user a {
    color: var(--color-error);
}

.logout_user a:hover {
    color: var(--color-error);
    background: var(--color-bg);
}

.logout_user i {
    color: var(--color-error) !important;
}

/* dropdown notification */
.dropdown_menu_notification {
    padding: 15px 0px 2px;
    min-width: 310px;
    border-width: 0px;
    box-shadow: rgba(8, 21, 66, 0.05) 0px 0px 37px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    background: var(--color-card);
}

.dropdown_menu_notification * {
    transition: var(--transition);
}

/* dropdown notification list */
.dropdown_notification_list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 400px;
    overflow-y: auto;
    padding: 5px 0;
}

.dropdown_notification_item {
    text-align: right;
    padding: 0 0.3rem;
    background: transparent !important;
}

.dropdown_notification_item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0.4rem 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: var(--transition);
    background: transparent;
    text-align: right;
    margin-bottom: 0;
    border-radius: 9px;
    border: 1px solid var(--color-border);
}

.dropdown_notification_item a:hover {
    color: var(--color-warning);
    background: var(--color-bg);
}

.notification_item_content {
    flex: 1;
}

.notification_item_title h5 {
    font-size: 15px;
    font-weight: 500;
    text-wrap: wrap;
    color: var(--color-text);
}

.dropdown_notification_item a:hover .notification_item_title h5 {
    color: var(--color-warning);
}

.notification_item_date {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.notification_item_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.notification_item_icon img {
    width: 100%;
    height: 100%;
}

/* dropdown notification footer */
.dropdown_notification_footer {
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.dropdown_notification_footer a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: .8rem 1.2rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: var(--transition);
    background: transparent;
    color: var(--color-text-secondary);
}

.dropdown_notification_footer a:hover {
    color: var(--color-warning);
    background: var(--color-bg);
}



.card_body_title_text {
    font-size: 15px;
    font-weight: 500;
}

.card_icon {
    background-color: var(--color-card);
    border: 1px solid var(--color-primary);
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card_icon i {
    font-size: 16px;
    color: var(--color-text);
}

.card_body_count_text {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-warning);
    border-radius: 9px;
    padding: 2px 8px;
    margin-right: 10px;
}


canvas {
    cursor: pointer;
}

/* chart data */
.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-text);
    pointer-events: none;
    /* حتى لا يمنع التفاعل مع الشارت */
}

.donut-label {
    font-size: 16px;
    color: var(--color-warning);
}



/* cruds Page */
.form_data label {
    color: var(--color-text);
}

.form_data .form-control,
.form_data .form-control-file {
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px var(--color-shadow);
    background: var(--color-card);
    border-radius: 5px;
    padding: 0.4rem 0.8rem;
    font-size: 14px;
    color: var(--color-text);
}

.form_data .form-control-file {
    height: 40px;
}

.form_data .form-control::placeholder {
    color: var(--color-text-secondary);
}

.form_data .custom-select {
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px var(--color-shadow);
    border-radius: 9px;
    padding: 0.4rem 0.8rem;
    font-size: 14px;
    background: var(--color-card) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") left .75rem center/8px 10px no-repeat;
    color: var(--color-text);
}

.form_data .form-control:focus,
.form_data .custom-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 .2rem #4e46e57b;
}

.form-control {
    color: var(--color-text);
    background: var(--color-card);
    font-size: 14px;
}

.form-control:focus {
    color: var(--color-text);
    background: var(--color-card);
    box-shadow: 0 0 0 .2rem #4e46e57b;
    border-color: var(--color-primary);
}

.form-control::placeholder {
    color: var(--color-text);
}



/* Lessons Section Styles - Enhanced */
table {
    /* cursor: grab; */
    /* user-select: none; */
    /* -webkit-user-select: none; للكروم و سفاري */
    /* -moz-user-select: none;    للفايرفوكس */
    /* -ms-user-select: none; */
    overflow-x: auto;
}


.lessons {
    margin-top: 2rem;
    padding: 1rem 0;
}

.lessons-background {
    background: var(--color-card);
    border-radius: 20px;
    padding: 2rem;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.lessons-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
}

/* Enhanced Header Styles */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.table-title {
    color: var(--color-text);
    margin: 0;
    position: relative;
    padding-right: 1rem;
}

.table-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--color-primary);
    border-radius: 2px;
}

.btn-add-table {
    background: var(--color-success);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(32, 101, 96, 0.2);
}

.btn-add-table:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(32, 101, 96, 0.3);
    color: white;
}

.btn-add-table i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-add-table:hover i {
    transform: rotate(90deg);
}

/* Enhanced Filter Card Styles */
.table-filter-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.table-filter-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.table-filter-form {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.filter-input,
.filter-select {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-card);
    color: var(--color-text);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-input::placeholder {
    color: var(--color-text);
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(32, 101, 96, 0.1);
    transform: translateY(-2px);
}

.btn-filter-search {
    background: var(--color-success);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(32, 101, 96, 0.2);
}

.btn-filter-search:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(32, 101, 96, 0.3);
}

/* Enhanced Table Styles */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 0;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-card);
    border-radius: 5px;
    /* overflow: hidden; */
    border: 1px solid var(--color-border);
    /* table-layout: fixed; */
    /* overflow-x: auto; */
    /* display: block; */
}

.custom-table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}



/* .custom-table thead , .custom-table tbody{
    width: 100%;
    display: flex;
} 
.custom-table tbody{
    flex-direction: column;
}
.custom-table tr{
    width: 100%;
    display: flex;
} */
.custom-table th,
.custom-table td {
    padding: 0.6rem;
    text-align: right;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
    text-align: center;
    vertical-align: middle;
    border: 1px dashed var(--color-border);
}

.custom-table td {
    color: var(--color-text);
}

.custom-table th {
    background: var(--color-bg);
    color: var(--color-text);
    font-weight: 500;
    white-space: nowrap;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* min-width: 150px; */
}

.custom-table tbody tr {
    transition: all 0.3s ease;
}


/* Enhanced Table Action Buttons */
.btn-table-action {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.btn-view,
.btn-view .btn_text {
    background: linear-gradient(135deg, var(--color-info), #0ea5e9);
    color: white;
}

.btn-edit,
.btn-edit .btn_text {
    background: linear-gradient(135deg, var(--color-warning), #fbbf24);
    color: white;
}

.btn-delete,
.btn-delete .btn_text {
    background: linear-gradient(135deg, var(--color-error), #f87171);
    color: white;
}

.btn-table-action:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-table-action i {
    transition: transform 0.3s ease;
}

.btn-table-action:hover i {
    transform: scale(1.2);
}

.btn-table-action .btn_text {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 0;
    visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: max-content;
    padding: 7px;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
}

.btn-table-action:hover .btn_text {
    transform: translate(50%, 0%);
    top: -100%;
    opacity: 1;
    visibility: visible;
}

.btn_table_action_show {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: max-content;
    padding: 7px;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    background: linear-gradient(135deg, var(--color-warning), #fbbf24);
    color: white !important;
}

.btn_table_action_disable {
    background: linear-gradient(135deg, var(--color-error), #f87171);
    color: white !important;
}

/* Enhanced Pagination Styles */
.table-pagination-nav {
    margin-top: 2rem;
}

.table-pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 12px;
    background: var(--color-card);
    color: var(--color-text);
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-item.active .page-link,
.page-link:hover {
    background: var(--color-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(32, 101, 96, 0.2);
    transform: translateY(-3px);
}


/* Enhanced Responsive Adjustments */
@media (max-width: 1362px) {
    .custom-table {
        /* display: block; */
    }
}

@media (max-width: 768px) {
    .lessons-filter-form {
        flex-direction: column;
    }

    .filter-input,
    .filter-select,
    .btn-filter-search {
        width: 100%;
    }

    .table-header {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .table-title::after {
        display: none;
    }

    .btn-add-table {
        width: 100%;
        justify-content: center;
    }

    .custom-table th,
    .custom-table td {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .btn-table-action {
        width: 30px;
        height: 30px;
    }
}




/* Lessons Reports Section Styles */
.lessons-reports {
    margin-top: 2rem;
    padding: 1rem;
}

.lessons-reports-background {
    background: var(--color-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.lessons-reports-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
}

/* Reports Header */
.reports-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}


.btn-export-report {
    background: var(--color-success);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(14, 220, 227, 0.2);
    border: none;
    cursor: pointer;
}

.btn-export-report:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(14, 220, 227, 0.3);
}

.btn-export-report i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-export-report:hover i {
    transform: translateX(3px);
}

/* Summary Cards */
.reports-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(14, 220, 227, 0.1), rgba(32, 101, 96, 0.1)); */
    opacity: 0;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.summary-card:hover::before {
    opacity: 1;
}

.summary-title {
    color: var(--color-text-secondary);
    margin-bottom: 0.8rem;
}

.summary-value {
    color: var(--color-text);
    font-weight: 500;
}

/* Reports Filter Card */
.reports-filter-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.reports-filter-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.reports-filter-form {
    display: flex;
    gap: 1.2rem;
    flex: 1;
    flex-wrap: wrap;
}

/* Charts Section */
.reports-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.chart-title {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

/* Reports Table */
.reports-table-responsive {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.reports-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-card);
    border-radius: 15px;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    table-layout: fixed;
}

.reports-table th,
.reports-table td {
    padding: 1.2rem;
    text-align: center;
    min-width: 190px;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
    /* white-space: nowrap; */
    border: 1px dashed var(--color-border);
}

.reports-table td {
    color: var(--color-text);
}

.reports-table th {
    background: var(--color-bg);
    color: var(--color-text);
    font-weight: 600;
    /* white-space: nowrap; */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reports-table tbody tr {
    transition: all 0.3s ease;
}

.reports-table tbody tr:hover {
    background: var(--color-bg);
}

/* Responsive Adjustments */
@media (max-width: 1362px) {
    .reports-table {
        display: block;
    }
}

@media (max-width: 768px) {

    .reports-title::after {
        display: none;
    }

    .btn-export-report {
        width: 100%;
        justify-content: center;
    }

    .reports-filter-form {
        flex-direction: column;
    }


    .reports-table th,
    .reports-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}


/* Notices Section Styles */
.notices-section {
    padding: 1rem 0;
}

.notices-background {
    background: var(--color-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.notices-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    ;
}

/* Notices Header */
.notices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.notices-title {
    color: var(--color-text);
    margin: 0;
    position: relative;
    padding-right: 1rem;
}

.notices-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Notices Filter Card */
.notices-filter-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.notices-filter-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.notices-filter-form {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Notices List */
.notices-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Notice Card */
.notice-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--color-warning);
    opacity: 0;
    transition: all 0.3s ease;
}

.notice-card::before {
    opacity: 1;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.notice-header {
    margin-bottom: 1rem;
}

.notice-title {
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 600;
}

.notice-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.notice-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-meta i {
    color: var(--color-warning);
}

.notice-body {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.notice-actions {
    display: flex;
    position: absolute;
    bottom: 5px;
    left: 15px;
}

.btn-notice-action {
    background: var(--color-warning);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    border: none;
    cursor: pointer;
}

.btn-notice-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-notice-action i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-notice-action:hover i {
    transform: translateX(3px);
}

.btn-notice-action a {
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .notices-header {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .notices-title::after {
        display: none;
    }

    .notices-filter-form {
        flex-direction: column;
    }

    .notice-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .notice-actions {
        justify-content: center;
    }

    .btn-notice-action {
        width: 100%;
        justify-content: center;
    }
}



/* Notice Details Section Styles */
.notice-details-section {
    padding: 1rem 0;

}

.notice-details-background {
    background: var(--color-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.notice-details-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
}


.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--color-success);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    color: white;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}


.btn-back:hover {
    transform: translateY(-3px) scale(1.02);
    color: white;
}

.btn-back:hover::before {
    opacity: 1;
}

.btn-back i,
.btn-back span {
    position: relative;
    z-index: 1;
}

.btn-back i {
    transition: transform 0.3s ease;
}

.btn-back:hover i {
    transform: translateX(-3px);
}

/* Notice Details Card */
.notice-details-card {
    background: var(--color-bg);
    padding: 2rem 1.3rem;
    border-radius: 15px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.notice-details-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.notice-details-title {
    color: var(--color-text);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.notice-details-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    border-radius: 3px;
}

/* Meta Information */
.notice-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--color-card);
}

.meta-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-primary);
}

.meta-item i {
    color: var(--color-warning);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.meta-item:hover i {
    transform: scale(1.2);
}

/* Notice Body */
.notice-details-body {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-card);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.notice-details-body:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.notice-details-body p {
    margin-bottom: 1rem;
}

.notice-details-body ul {
    list-style: none;
    padding-right: 1.5rem;
}

.notice-details-body ul li {
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.notice-details-body ul li:hover {
    transform: translateX(-5px);
    color: var(--color-primary);
}

.notice-details-body ul li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    right: -1.5rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.notice-details-body ul li:hover::before {
    transform: scale(1.5);
}

/* Attachments */
.notice-details-attachments {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-card);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.notice-details-attachments:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.notice-details-attachments h3 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notice-details-attachments h3 i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.notice-details-attachments:hover h3 i {
    transform: rotate(15deg);
}

.attachments-list {
    display: flex;
    gap: 1rem;
}

.attachment-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.attachment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.attachment-item:hover {
    transform: translateX(-5px);
    color: white;
    border-color: transparent;
}

.attachment-item:hover::before {
    opacity: 1;
}

.attachment-item i,
.attachment-item span {
    position: relative;
    z-index: 1;
}

.attachment-item i {
    font-size: 1.5rem;
    color: var(--color-warning);
    transition: transform 0.3s ease;
}

.attachment-item:hover i {
    transform: scale(1.2);
    color: white;
}

/* Actions */
.notice-details-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-mark-read,
.btn-reply {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-mark-read::before,
.btn-reply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.btn-mark-read {
    background: var(--color-success);
    color: white;
}

.btn-reply {
    background: var(--color-primary);
    color: white;
}

.btn-mark-read:hover,
.btn-reply:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-mark-read i,
.btn-reply i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-mark-read:hover i,
.btn-reply:hover i {
    transform: scale(1.2);
}

/* Reply Section */
.notice-reply-section {
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.notice-reply-section:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.notice-reply-section h3 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notice-reply-section h3 i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.notice-reply-section:hover h3 i {
    transform: rotate(15deg);
}

.reply-textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 1rem;
    background: var(--color-bg);
    color: var(--color-text);
    resize: vertical;
    transition: all 0.3s ease;
}

.reply-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(32, 101, 96, 0.1);
    transform: translateY(-2px);
}

.btn-send-reply {
    background: var(--color-primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-send-reply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.btn-send-reply:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(32, 101, 96, 0.2);
}

.btn-send-reply:hover::before {
    opacity: 1;
}

.btn-send-reply span {
    position: relative;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .notice-details-meta {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }

    .notice-details-actions {
        flex-direction: column;
    }

    /* .btn-mark-read,
    .btn-reply {
        width: 100%;
        justify-content: center;
    } */

    .notice-details-title {
        font-size: 1.5rem;
    }

    .notice-details-body {
        font-size: 1rem;
        padding: 1rem;
    }

    .attachment-item {
        padding: 0.8rem;
    }

    .notice-reply-section {
        padding: 1rem;
    }

    .attachments-list {
        flex-direction: column;
    }
}

.modal-content {
    background: var(--color-card) !important;
    border: 1px solid var(--color-border) !important;
}

.modal-header {
    align-items: center;
    border-bottom: 1px solid var(--color-border) !important;
}

.modal-title {
    color: var(--color-text) !important;
    margin: 0;
}

.modal-header .close {
    color: var(--white-color) !important;
    opacity: 1 !important;
    margin: 2px;
    padding: 10px;
    font-size: 15px !important;
    text-shadow: none !important;
    background: var(--color-error);
}




/* Reports List Section */
.reports-list-section {
    margin-top: 2rem;
    padding: 1rem 0;
}

.reports-list-background {
    background: var(--color-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.reports-list-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
}

/* Reports List Header */
.reports-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.reports-list-title {
    color: var(--color-text);
    margin: 0;
    position: relative;
    padding-right: 1rem;
}

.reports-list-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--color-primary);
    border-radius: 2px;
}

.reports-list-actions {
    display: flex;
    gap: 1rem;
}

.btn-print-reports,
.btn-export-reports {
    background: var(--color-success);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(14, 220, 227, 0.2);
    border: none;
    cursor: pointer;
}

.btn-print-reports:hover,
.btn-export-reports:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(14, 220, 227, 0.3);
}

.btn-print-reports i,
.btn-export-reports i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-print-reports:hover i,
.btn-export-reports:hover i {
    transform: translateX(3px);
}

/* Reports List Filter Card */
.reports-list-filter-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.reports-list-filter-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.filter-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.date-range {
    display: flex;
    gap: 1rem;
    flex: 2;
}

/* Reports List Table */


.reports-list-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-card);
    border-radius: 15px;
    border: 1px solid var(--color-border);
}

.reports-list-table th,
.reports-list-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
    border: 1px dashed var(--color-border);
}

.reports-list-table td {
    color: var(--color-text);
}

.reports-list-table th {
    background: var(--color-bg);
    color: var(--color-text);
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reports-list-table tbody tr {
    transition: all 0.3s ease;
}

.reports-list-table tbody tr:hover {
    background: var(--color-bg);
}

.note_th {
    min-width: 250px;
}

/* Status Badge */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge.present {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.status-badge.absent {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
}

.rating i {
    color: var(--color-warning);
}

/* Table Actions */
.table-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-action {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-card);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-action.btn-edit:hover {
    background: var(--color-warning);
    color: white;
    border-color: var(--color-warning);
}

.btn-action.btn-delete:hover {
    background: var(--color-error);
    color: white;
    border-color: var(--color-error);
}

.btn-action.btn-download:hover {
    background: var(--color-success);
    color: white;
    border-color: var(--color-success);
}

/* Bulk Actions */
.reports-list-bulk-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--color-bg);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.selected-count {
    color: var(--color-text);
    font-weight: 500;
}

.selected-count span {
    color: var(--color-primary);
    font-weight: 700;
}

.bulk-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* .btn-bulk-action {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: var(--color-card);
    color: var(--color-text);
} */

/* .btn-bulk-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-bulk-action.btn-print:hover {
    background: var(--color-primary);
    color: white;
}

.btn-bulk-action.btn-export:hover {
    background: var(--color-success);
    color: white;
}

.btn-bulk-action.btn-delete:hover {
    background: var(--color-error);
    color: white;
} */

/* Pagination */
.reports-list-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 12px;
    background: var(--color-card);
    color: var(--color-text);
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-item.active .page-link,
.page-link:hover {
    background: var(--color-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(32, 101, 96, 0.2);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1362px) {
    .reports-list-table {
        display: block;
    }
}

@media (max-width: 768px) {
    .reports-list-header {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .reports-list-title::after {
        display: none;
    }

    .reports-list-actions {
        width: 100%;
        justify-content: center;
    }

    .filter-group {
        flex-direction: column;
    }


    .date-range {
        flex-direction: column;
    }

    .reports-list-bulk-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .attachment-info {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .attachment-name {
        font-weight: 500;
        color: #333;
    }

    .attachment-size {
        font-size: 12px;
        color: #666;
    }

    .btn-download {
        background: none;
        border: none;
        color: #206560;
        cursor: pointer;
        padding: 5px;
    }

    .btn-download:hover {
        color: #164a46;
    }



}



/* Student Reports Section Styles */
.student-reports-section {
    padding: 25px 0;
    /* max-width: 1300px; */
    /* margin: auto; */
}

.student-reports-background {
    background: var(--color-background);
    border-radius: 20px;
    padding: 30px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.student-reports-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
}

/* Header Styles */


.reports-title {
    color: var(--color-text);
    margin: 0;
    position: relative;
    padding-right: 1rem;
}

.reports-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--color-primary);
    border-radius: 2px;
}



.reports-actions {
    display: flex;
    gap: 15px;
}

/* Students List Styles */
.students-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.student-card {
    background: var(--color-card);
    border-radius: 16px;
    padding: 25px 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.student-info {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.2);
}

.student-details h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
}

.student-details p {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--color-text);
}



/* Student Summary Styles */
.student-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    /* margin-bottom: 35px; */
}

/* .summary-card {
    background: var(--color-card);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
} */

/* .summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
} */

/* .summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.summary-card:hover::before {
    opacity: 0.05;
} */

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.2);
    transition: all 0.3s ease;
}

.summary-card:hover .summary-icon {
    transform: scale(1.1);
}

/* .summary-content h5 {
    margin: 0;
    font-size: 16px;
    color: var(--color-text-light);
} */
/* 
.summary-content p {
    margin: 8px 0 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
} */

/* Performance Charts Styles */
.performance-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.chart-card {
    background: var(--color-card);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.chart-card h5 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    position: relative;
    padding-bottom: 10px;
}

.chart-card h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
}


.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge.present {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-badge.absent {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.rating {
    display: flex;
    gap: 2px;
    color: #fbbf24;
}

/* Pagination Styles */
.reports-pagination {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    margin: 0 2px;
}

.page-link {
    padding: 10px 15px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-item.active .page-link,
.page-link:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .reports-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        text-align: center;
    }

    .reports-actions {
        width: 100%;
        justify-content: space-between;
    }

    .performance-charts {
        grid-template-columns: 1fr;
    }

    .reports-table th,
    .reports-table td {
        padding: 15px;
        font-size: 14px;
    }
}

.list-unstyled li {
    padding: 10px 35px 10px 10px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.list-unstyled li.subtitle span {
    font-weight: 500;
    color: var(--color-success);
    display: inline-block;
    margin-left: 5px;
}

.list-unstyled li i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--color-warning);
}

@media (max-width: 760px) {
    .list-unstyled li.subtitle {
        font-size: 13px;
    }
}



/* From Uiverse.io by Bodyhc */
.premition_options {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    flex-direction: row;
}

.premition_options .card {
    margin: 0 !important;
    max-width: 100%;
}

.checkbox-wrapper-16 .checkbox-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile {
    border-color: var(--color-warning);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-warning);
}

.checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
    background-color: var(--color-warning);
    border-color: var(--color-warning);
}

.checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile .checkbox-icon,
.checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile .checkbox-label {
    color: var(--color-warning);
}

.checkbox-wrapper-16 .checkbox-input:focus+.checkbox-tile {
    border-color: var(--color-warning);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #e2cbab7b;
}

.checkbox-wrapper-16 .checkbox-input:focus+.checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
}

.checkbox-wrapper-16 .checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 7rem;
    min-height: 7rem;
    border-radius: 0.5rem;
    border: 2px solid #b5bfd9;
    background-color: var(--color-card);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
}

.checkbox-wrapper-16 .checkbox-tile:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d9d4b5;
    background-color: var(--color-card);
    border-radius: 50%;
    top: 0.25rem;
    left: 0.25rem;
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transform: scale(1);
    opacity: 1;
}

.checkbox-wrapper-16 .checkbox-tile:hover {
    border-color: var(--color-warning);
}

.checkbox-wrapper-16 .checkbox-icon {
    transition: 0.375s ease;
    color: var(--color-success);
}

.checkbox-wrapper-16 .checkbox-icon i {
    font-size: 2rem;
}

.checkbox-wrapper-16 .checkbox-label {
    color: var(--color-text);
    transition: 0.375s ease;
    text-align: center;
}


.account_page {
    min-height: 100vh;
    align-content: center;
    padding: 100px 0;
}

.account_page .container {
    max-width: 500px;
}

.account_page .card {
    padding: 30px;
}

.card_header_icon {
    width: 130px;
    height: 100%;
    padding: 10px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px var(--color-shadow);
    margin: 0 auto 10px;
}

/* Warning Message Styles */
.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

.alert-warning i {
    margin-left: 0.5rem;
}

/* Shake Animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake-animation {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

.audience_card {
    border: 1px solid var(--color-success);
}

.memorizing_card {
    border: 1px solid var(--color-error);
}

.Reinforcement_card {
    border: 1px solid var(--color-warning);
}

.rehearsal_card {
    border: 1px solid var(--color-primary);
}

.audience_card h5 {
    color: var(--color-success);
}

.memorizing_card h5 {
    color: var(--color-error);
}

.Reinforcement_card h5 {
    color: var(--color-warning);
}

.rehearsal_card h5 {
    color: var(--color-primary);
}

.border_error {
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

.teacher-name-span {
    font-size: 20px;
    font-weight: 500;
    background: var(--color-card);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: var(--color-shadow);
}

.lable_cheack_plane {
    position: relative;
    padding: 7px;
    padding-right: 35px;
    transition: var(--transition);
    font-size: 20px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
}

.span_cheack_plane {
    position: absolute;

}

.span_cheack_plane {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.span_cheack_plane i {
    transform: scale(0.5);
    font-size: 15px;
    color: var(--color-success);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.cheack_option_plan {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.cheack_option_plan:checked+.lable_cheack_plane,
.lable_cheack_plane:hover {
    color: var(--color-success);
}

.cheack_option_plan:checked+.lable_cheack_plane .span_cheack_plane {
    border-color: var(--color-success);
    box-shadow: 0 0 0 .2rem #47c08140;
}

.cheack_option_plan:checked+.lable_cheack_plane .span_cheack_plane i {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.groups_starthfh .form-group {
    flex: 1;
    margin: 0;
    min-width: 170px;
}

.title_options_plane {
    font-size: 20px;
    font-weight: 500;
    background: var(--color-card);
    padding: 10px 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: var(--color-shadow);
    border: 1px solid var(--color-border);
    margin: 0;
}



/* Professional Statistic Card Styling */
.statistic-card {
    background-color: var(--color-card);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease-in-out;
}

.statistic-card:hover {
    transform: translateY(-5px);
}

.statistic-card .card-title {
    font-size: 1rem;
    color: var(--color-text);
    margin-top: 10px;
    margin-bottom: 5px;
}

.statistic-card .card-text.h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--color-text-secondary);
}

.statistic-card i {
    color: #007bff;
    /* Example default icon color */
}

/* Specific icon colors (adjust as needed) */
.statistic-card .fa-user {
    color: #007bff;
}

.statistic-card .fa-chalkboard-user {
    color: #28a745;
}

.statistic-card .fa-book-open {
    color: #ffc107;
}

.statistic-card .fa-book-reader {
    color: #17a2b8;
}

.statistic-card .fa-calendar-alt {
    color: #dc3545;
}

.statistic-card .fa-stream {
    color: #6c757d;
}



.record_preparation_today {
    padding: 30px 0;
}

.btn_tabs_segel {
    color: var(--color-text-secondary);
    margin: 5px;
    padding: 5px 20px;
    border-radius: 12px !important;
    transition: var(--transition);
}

.btn_tabs_segel.active {
    color: var(--white-color);
    background: var(--color-success) !important;
}





/* Search and Filter */
.surah-filters {
    margin: 0.7rem 0 0;
    padding: 0.8rem;
    background: var(--color-bg);
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.surah-search {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    /* margin-bottom: 1rem; */
    transition: all 0.3s ease;
}

.surah-search:focus {
    border-color: var(--color-success);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    outline: none;
}

.progress-container {
    background-color: var(--color-card);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.progress-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.progress-bar {
    height: 10px;
    background-color: var(--color-border);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--color-success);
    width: 0;
    transition: width 0.3s ease;
}

/* Search Styles */
/* .surah-filters {
    margin-bottom: 2rem;
} */

.surah-search {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-card);
    transition: all 0.3s ease;
}

.surah-search:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(38, 135, 129, 0.1);
}

/* Completion Message Styles */
.completion-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: var(--color-success);
    color: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.completion-message.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.completion-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.completion-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.completion-message p {
    font-size: 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.surah-card {
    border: 1px solid var(--color-border);
    padding: 8px;
    border-radius: 14px;
}

.surah-card .card-title {
    color: var(--color-text);
    font-size: 0.8rem;
    margin: 0;
    font-weight: 500;
}

.surah-card .card-body {
    padding: 0;
}


.reports-title {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.reports-filter-card {
    background: var(--color-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reports-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-grow: 1;
}

.filter-input,
.filter-select {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-text);
}

.filter-input::placeholder {
    color: var(--color-text);
    opacity: 0.6;
}

.fillter_date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fillter_date label {
    color: var(--color-text);
    font-weight: 500;
}

.btn-filter-search {
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-filter-search:hover {
    background-color: var(--color-primary-dark);
}

.week-tabs-container {
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 10px;
    /* Add padding for scrollbar */
}

/* Custom scrollbar for week tabs */
.week-tabs-container::-webkit-scrollbar {
    height: 8px;
}

.week-tabs-container::-webkit-scrollbar-track {
    background: var(--color-card);
    /* Track color */
    border-radius: 4px;
}

.week-tabs-container::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    /* Handle color */
    border-radius: 4px;
}

.week-tabs {
    display: inline-flex;
    /* Allows tabs to be horizontal and scrollable if needed */
    flex-wrap: nowrap;
    border: none;
}

.week-tabs .nav-item {
    flex-shrink: 0;
    /* Prevent items from shrinking */
}

.week-tabs .nav-link {
    background-color: var(--color-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin: 0 5px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    min-width: 50px;
    /* Minimum width for tabs */
    text-align: center;
}

.week-tabs .nav-link.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.attendance-table-container {
    background: var(--color-card);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    /* Make table container horizontally scrollable */
}

.attendance-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.attendance-table th,
.attendance-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.attendance-table th {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-weight: 500;
    border-bottom: 0 !important;
}

.attendance-table tbody tr:last-child td {
    border-bottom: none;
}

.attendance-table tbody tr:hover {
    background-color: var(--color-bg);
}

.attendance-table td {
    color: var(--color-text);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reports-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-input,
    .filter-select,
    .btn-filter-search {
        width: 100%;
    }

    .fillter_date {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .week-tabs .nav-link {
        padding: 0.5rem 1rem;
        min-width: 40px;
    }
}


.pending-teachers-section {
    padding: 20px 0;
}

.pending-teachers-background {
    background: var(--color-card);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 
.teacher-card {
    background: var(--color-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
} */

.teacher-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.teacher-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.teacher-details {
    flex: 1;
}

.teacher-details h4 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.teacher-specialization {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.teacher-contact,
.teacher-documents {
    margin-top: 10px;
}

.teacher-contact p,
.teacher-documents p {
    margin: 8px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.teacher-contact i,
.teacher-documents i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.teacher-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.teacher-actions .btn {
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.teacher-actions .btn:hover {
    transform: translateY(-2px);
}

.teacher-actions .btn_primary {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .teachers-list {
        grid-template-columns: 1fr;
    }

    /* .teacher-card {
        max-width: 100%;
    } */
}

.card_teacher_on i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.card_teacher_on span {
    font-size: 1.2rem;
    color: var(--color-text);
}

.card_teacher_on a span {
    color: var(--color-text) !important;
    text-decoration: none;
    font-size: 16px;
}

.card-body .badge {
    background-color: var(--color-primary);
    color: var(--white-color);
}

.groub-btn {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}


.weeks-tabs-container {
    margin-bottom: 2rem;
}

.weeks-tabs {
    border-bottom: none;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.weeks-tabs .nav-link {
    border: none;
    color: var(--color-text);
    font-weight: 500;
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.weeks-tabs .nav-link:hover {
    background-color: var(--color-card);
    transform: translateY(-2px);
}

.weeks-tabs .nav-link.active {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}




.student-details h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}



@media (max-width: 768px) {
    .weeks-tabs {
        flex-wrap: wrap;
    }

    .weeks-tabs .nav-link {
        flex: 1 1 calc(50% - 1rem);
        margin: 0.5rem;
        text-align: center;
    }


}

@media (max-width: 576px) {
    .weeks-tabs .nav-link {
        flex: 1 1 100%;
    }
}

.summary-content .number {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 40px;
    height: 35px;
    background: var(--color-primary);
    color: var(--white-color);
    font-size: 1.3rem;
    font-weight: 500;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.summary-content .number.rehearsal_rep1 {
    background-color: var(--color-warning);
}

.summary-content .number.rehearsal_rep2 {
    background-color: var(--color-error);
}

.hodor_result {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 5px !important;
}


/* Evaluation Groups Dashboard Specific Styles */
.evaluation-dashboard {
    padding: 20px 0;
}

.evaluation-dashboard .container-fluid {
    background: var(--color-card);
    border-radius: 20px;
    padding: 20px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
}

/* Header Section */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
}

.dashboard-title {
    color: var(--color-text);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

/* Content Sections */
.content-section {
    background: var(--color-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.section-title {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* Tables */
.custom-table {
    width: 100%;
    margin-bottom: 0;
}

.custom-table th {
    background: var(--color-card);
    color: var(--color-text);
    font-weight: 500;
    padding: 12px 15px;
    border-bottom: 2px solid var(--color-border);
    text-align: right;
}

.custom-table td {
    padding: 8px 10px;
    vertical-align: middle;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    text-align: right;
    font-size: 14px;
}

.custom-table tr:hover {
    background: var(--color-card);
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-evaluated {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-absent {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

/* Rating Stars */
.rating-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.section-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

}


/* Admin Dashboard Specific Styles */

.admin-dashboard .container-fluid {
    background: var(--color-card);
    border-radius: 20px;
    padding: 15px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    margin-top: 20px;
}

/* Header Section */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
}

.dashboard-title {
    color: var(--color-text);
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn i {
    font-size: 1.1rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--color-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.stat-title {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    color: var(--color-text);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Content Sections */
.content-section {
    background: var(--color-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.section-title {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
}

/* Tables */
.custom-table {
    width: 100%;
    margin-bottom: 0;
}

/* .custom-table th {
    background: var(--color-card);
    color: var(--color-text);
    font-weight: 500;
    padding: 12px 15px;
    border-bottom: 2px solid var(--color-border);
} */



.custom-table tr:hover {
    background: var(--color-card);
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-present {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-absent {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Rating Stars */
.rating-stars {
    color: #ffc107;
    font-size: 1.1rem;
}

/* Progress Bars */
.progress {
    height: 8px;
    background: var(--color-card);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: var(--color-primary);
    border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .action-buttons {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .custom-table {
        display: block;
        overflow-x: auto;
    }
}























.top-stats {
    margin: 2rem 0;
}

.student-rank-card {
    background: var(--color-card);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    height: 100%;
}

.student-rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rank-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.rank-header i {
    font-size: 2rem;
    color: var(--color-warning);
}

.rank-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-text);
}

/* .student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
} */

.student-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

/* Surah Grid Styles */
.surah-grid {
    margin-top: 2rem;
}

.surah-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
}

.search-box input {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-card);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(38, 135, 129, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-filter {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    background: var(--color-border);
    color: var(--color-text) !important;
    transition: all 0.3s ease;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--color-primary);
    color: white !important;
    border-color: var(--color-primary);
}

.surah-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.surah-card {
    background: var(--color-card);
    border-radius: 15px;
    padding: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    height: 100%;
}

.surah-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.surah-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.surah-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-text);
}

.completion-date {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.surah-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.completion-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-success);
    font-size: 0.9rem;
}

.completion-badge i {
    font-size: 1.2rem;
}

.load-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-load-more {
    padding: 0.8rem 2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(38, 135, 129, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .surah-grid-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        width: 100%;
    }

    .filter-buttons {
        justify-content: center;
    }

    .surah-cards {
        grid-template-columns: 1fr;
    }

    .surah-body {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* .student-info {
        justify-content: center;
    } */
}



.card_groupHalaqa {
    margin: 0;
}

.card_groupHalaqa.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.card_groupHalaqa.active h6,
.card_groupHalaqa.active p {
    color: #ffffff;
}

.badge_student_education {
    border-radius: 10px;
}

.student_list_items {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-top: 20px;
}

.student_list_item {
    position: relative;
    gap: 0.5rem;
}

.student_list_item:hover {
    background: var(--color-bg);
}

.student_list_item:hover h6 {
    color: var(--color-primary);
}

.student_list_item:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}




































































































































































دي بتاع الصفحه دي

/* Add your improved CSS styles here for Al Awael page */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 20px;
    /* Added padding */
    background-color: var(--color-card);
    /* Use card background */
    border-radius: 8px;
    box-shadow: var(--color-shadow);
}

.page-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-text);
    /* Using CSS variable for color */
    margin: 0;
    /* Remove default margin */
}

.export-buttons .btn {
    margin-left: 10px;
    /* Ensure button styles match site's theme - using btn_success and btn_error from style.css */
}

.filter-card .card-body {
    padding: 0;
    /* Remove default card-body padding as padding is on .card */
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: center;
}


/* Styling for form controls within filter */
.filter-grid .form-control {
    border-color: var(--color-border);
    color: var(--color-text);
    background-color: var(--color-bg);
}

.filter-grid .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25);
    /* Assuming you have primary color in rgb */
}

.filter-grid .form-check-label {
    color: var(--color-text-secondary);
}


.pagination-section {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background-color: var(--color-card);
    border-radius: 8px;
    box-shadow: var(--color-shadow);
    border: 1px solid var(--color-border);
}

.pagination-number {
    margin: 0 5px;
    border-radius: 50%;
    /* Make pagination buttons round */
    width: 40px;
    /* Set fixed width and height for round buttons */
    height: 40px;
    display: inline-flex;
    /* Use inline-flex to center content */
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--color-text) !important;
    /* Default text color */
    border: 1px solid var(--color-border);
    /* Assuming border-color variable exists */
    background-color: var(--color-bg);
    /* Default background */
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background-color: var(--color-primary);
    /* Using primary color for hover */
    color: var(--white-color) !important;
    /* White text on hover */
    border-color: var(--color-primary);
}

.pagination-number.active {
    background-color: var(--color-success);
    /* Active button color */
    color: var(--white-color) !important;
    /* Active button text color */
    border-color: var(--color-success);
}




.student-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Slightly wider cards */
    gap: 20px;
}





.student-card .rank {
    font-size: 2.5rem;
    /* Larger rank number */
    font-weight: bold;
    color: var(--color-primary);
    /* Using CSS variable */
    margin-right: 0px;
    /* Increased space */
    padding-right: 20px;
    /* Increased padding */
    border-right: 2px solid var(--color-primary);
    /* Thicker separator line */
    border-radius: 20px;
}

.student-card .student-info {
    flex-grow: 1;
    /* Allow info to take up available space */
    margin-left: 20px;
    /* Increased space */
}

.student-card .name {
    font-size: 1rem;
    /* Slightly larger name font */
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--color-text);
    /* Using CSS variable */
}

.student-card .ribat-name {
    font-size: 1.1rem;
    /* Slightly larger ribat name font */
    color: var(--color-text-secondary);
    /* Using secondary text color */
}

.student-card .percentages {
    display: flex;
    flex-direction: column;
    /* Stack percentages vertically */
    align-items: flex-end;
    /* Align percentages to the right */
    font-size: 1rem;
}

.student-card .percentage-item {
    display: flex;
    align-items: center;
    /* Align label and value horizontally */
    margin-bottom: 5px;
}

.student-card .percentage-item:last-child {
    margin-bottom: 0;
    /* Remove bottom margin from the last item */
}


.student-card .percentage-label {
    font-size: 1rem;
    /* Adjusted font size */
    color: var(--color-text-secondary);
    /* Using secondary text color */
    margin-left: 8px;
    /* Increased space between label and value */
}

.student-card .percentage-value {
    font-size: 1.2rem;
    /* Slightly larger value font */
    font-weight: bold;
    color: var(--color-success);
    /* Using CSS variable */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .export-buttons {
        margin-top: 15px;
    }

    .filter-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .student-card .rank {
        margin: 0 0 10px 0;
        padding: 0;
        border-left: none;
    }

    .student-card .student-info {
        margin: 0 0 10px 0;
        text-align: center;
    }

    .student-card .percentages {
        align-items: center;
    }

    .student-card .percentage-item {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .student-card .percentage-label {
        margin-left: 0;
        margin-bottom: 3px;
    }
}

.ayahs-container {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 24px;
    line-height: 2.4;
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

}

.ayah {
    display: inline;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 2px;
}

.ayah:hover {
    background-color: #e0f7fa;
}

.ayah.saved {
    background-color: #e0f7fa;
}

.ayah.last-saved {
    background-color: #bef7ff;
}


.count_abs {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 0 8px;
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: #ffffff;
}

.card_theme {
    background: var(--color-bg);
    box-shadow: none;
}

.card_theme:hover {
    background: var(--color-card);
}

.card_error {
    box-shadow: none;
    opacity: 0.6;
    background: var(--color-error);
}

.card_error:hover {
    opacity: 1;
}

.badge_count {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 8px;
}