@font-face {
    font-family: 'QaidaFont';
    src: url('../fonts/qaida_font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    height: 100%;
    margin: 0;
}

.authBody{
    background: #F0F0F1;
}

#content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body {
    font-family: "Poppins", sans-serif;
    /*background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%);*/
}
#main {
    flex: 1;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.time-slot {
    position: relative;
    overflow: hidden;
}

.shift-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    padding: 5px;
    text-align: center;
    z-index: 1;
}

.time-slot>div {
    position: relative;
    z-index: 2;
}

.custom-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: center;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
    white-space: nowrap;
}

.tooltip-container:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}

.custom-tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* Arrow points downward */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.disabled-btn {
    opacity: 0.4;
    cursor: not-allowed;
}

a.disabledEndButton {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Custom Colors   */
.bg-accent {
    background: #885c2d;
}
.bg-gradient-primary {
    background: linear-gradient(135deg, #4d2c08 0%, #885c2d 100%);
}
.text-gray {
    color: #afafaf;
}

/*  Custom Font Sizes  */
.fs-11 {
    font-size: 11px;
}
.fs-12 {
    font-size: 12px;
}
.fs-13 {
    font-size: 13px;
}
.fs-14 {
    font-size: 14px;
}
.fs-15 {
    font-size: 15px;
}
.fs-16 {
    font-size: 16px;
}
.fs-17 {
    font-size: 17px;
}
.fs-18 {
    font-size: 18px;
}
.fs-19 {
    font-size: 19px;
}
.fs-20 {
    font-size: 20px;
}

/*  Custom Font Weights  */
.fw-400 {
    font-weight: 400;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.fw-800 {
    font-weight: 800;
}
.fw-bold {
    font-weight: bold;
}
.fw-bolder {
    font-weight: bolder;
}

/*  custom link  */
.c-link {
    text-decoration: none;
    color: #000;
}
.c-link:hover {
    color: #393939;
}

/*  Buttons  */
.primary-btn {
    border: none;
    background: #885c2d;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s ease-in-out;
}
.primary-btn:hover {
    background: #68441f;
}

.primary-outline-btn{
    border: 1px solid #885c2d;
    background: transparent;
    color: #885c2d;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s ease-in-out;
}
.primary-outline-btn:hover{
    background: #885c2d;
    color: #ffffff;
}

/* Cursor Not allowed  */
.not-allowed {
    cursor: not-allowed;
    user-select: none;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

/*  Custom Badges  */
.badge-success {
    padding: 8px 12px;
    color: #ffffff;
    background: #2e8b57;
    border-radius: 8px;
    font-size: 14px;
}
.badge-secondary {
    padding: 8px 12px;
    color: #ffffff;
    background: #474747;
    border-radius: 8px;
    font-size: 14px;
}

.loginCard {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    border-radius: 8px; /* Optional: adds rounded corners */
    background: white; /* Ensure visibility on colored backgrounds */
}

/* Teacher Notes Page Styles */
.teacher-notes-stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teacher-notes-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.teacher-notes-card {
    border-radius: 12px;
}

.teacher-notes-table {
    margin-bottom: 0;
}

.teacher-notes-table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.teacher-notes-table tbody tr {
    transition: background-color 0.2s ease;
}

.teacher-notes-table tbody tr.teacher-note-unread {
    background-color: #fffdf7;
    border-left: 3px solid #dc3545;
}

.teacher-notes-table tbody tr.teacher-note-unread:hover {
    background-color: #fff9e6;
}

.teacher-notes-table tbody tr.teacher-note-read {
    background-color: #ffffff;
}

.teacher-notes-table tbody tr.teacher-note-read:hover {
    background-color: #f8f9fa;
}

.teacher-note-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-width: 400px;
}

/* Dropdown menu styling */
.teacher-notes-table .dropdown-toggle {
    padding: 4px 8px;
    border-radius: 6px;
}

.teacher-notes-table .dropdown-toggle:hover {
    background-color: #e9ecef;
}

.teacher-notes-table .dropdown-item {
    font-size: 13px;
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

.teacher-notes-table .dropdown-item:hover {
    background-color: #f8f9fa;
}

.teacher-notes-table .dropdown-item i {
    width: 18px;
    text-align: center;
}

/* Pagination styling */
.teacher-notes-card .pagination {
    margin-bottom: 0;
}

.teacher-notes-card .pagination .page-link {
    font-size: 13px;
    padding: 6px 12px;
    color: #885c2d;
    border-color: #dee2e6;
}

.teacher-notes-card .pagination .page-link:hover {
    background-color: #f8f9fa;
    border-color: #885c2d;
    color: #885c2d;
}

.teacher-notes-card .pagination .page-item.active .page-link {
    background-color: #885c2d;
    border-color: #885c2d;
    color: #fff;
}

@media (max-width: 768px) {
    .loginCard {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 50px auto; /* Adds space from top and bottom */
        padding: 5px;
    }
}
.AuthLogo{
    width: 180px;

}

.custom-dropdown .dropdown-menu {
    display: none;
    position: fixed; /* Use fixed positioning */
    background-color: #343a40; /* Dark background */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it stays on top */
}

.custom-dropdown:hover .dropdown-menu {
    display: block;
}

.custom-dropdown .dropdown-menu a {
    color: #fff; /* White text color */
    padding: 12px 16px;
    font-size: 13px;
    text-decoration: none;
    display: block;
}

.custom-dropdown .dropdown-menu a:hover {
    background-color: #495057; /* Darker gray on hover */
}

/*  Custom Card CSS   */
.auth-card {
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
}
.registrationForm .form-label {
    font-size: 14px;
    font-weight: 600;
}

.registrationForm .form-input,
.registrationForm .form-input-select {
    font-size: 14px;
    padding: 8px 16px;
}
.registrationForm .form-input:focus,
.registrationForm .form-input-select:focus {
    box-shadow: none;
}

.main-body {
    background: #e9e8e8;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
    text-decoration: none;
    display: flex;
    align-items: center;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 26px;
}

.logo .logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    font-family: "Nunito", sans-serif;
}
.logo .logo-sub-text {
    font-size: 13px;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

/*--------------------------------------------------------------
  # Header Nav
  --------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 18px;
    color: #4e4f50;
    position: relative;
}

.header-nav .nav-profile {
    color: #000;
}

.header-nav .nav-profile img {
    width: 40px;
    height: 35px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -8px -6px auto auto;
    font-weight: normal;
    font-size: 9px;
    border-radius: 50%;
    padding: 4px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 260px;
    padding: 4px 0;
    top: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    animation: profileDropdownFade 0.12s ease-out;
}

@keyframes profileDropdownFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.header-nav .profile .dropdown-header {
    padding: 12px 16px 10px;
    background: linear-gradient(135deg, #fdf4ea 0%, #f7e2c9 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-nav .profile .dropdown-header h6 {
    font-size: 15px;
    margin-bottom: 0;
    font-weight: 600;
    color: #3b2a18;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav .profile .dropdown-header h6 span {
    font-size: 11px;
}

.header-nav .profile .dropdown-header span {
    font-size: 13px;
}

.header-nav .profile .dropdown-divider {
    margin: 4px 0;
}

.header-nav .profile .dropdown-item {
    font-size: 13px;
    padding: 9px 16px;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.1s ease;
    color: #1f1f1f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-nav .profile .dropdown-item i {
    font-size: 14px;
    line-height: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5e7d8;
    color: #885c2d;
}

.header-nav .profile .dropdown-item span {
    font-size: 13px;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f8eee4;
    color: #1f1f1f;
    transform: translateX(1px);
}

.header-nav .profile .dropdown-item.logout-item i {
    background: #fde2e0;
    color: #c53030;
}

.header-nav .profile .dropdown-item.logout-item:hover {
    background-color: #fde7e5;
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagetitle h1 {
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 600;
    color: #000;
}
.pagetitle h1 span {
    color: #525252;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/

/* Info Cards */
.card-icon-big {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card-text {
    text-align: left;
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 100%;
}
.card-text-right {
    text-align: right;
    position: absolute;
    bottom: 0px;
    right: 10px;
    width: 100%;
}

.card-text h5 {
    margin: 0;
    font-size: 14px;
}

.card-text h6 {
    margin: 0;
    font-size: 1.5rem;
    color: #000;
}

.info-card {
    position: relative;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard .info-card .card-body .card-title {
    color: #fff;
    font-size: 14px;
}

.table-card {
    background: #242526;
    color: #fff;
}
.datatable {
    background: #242526;
    font-size: 14px;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
    .secondCol {
        .socialLinks {
            display: flex;
            gap: 5px;

            a {
                font-size: 16px;
                color: #fff;
                background: #6495ed;
                padding: 4px 8px;
                border-radius: 10px;
                background: #868686;
                color: #fff;
                transition: 0.3s ease-in-out;
            }

            .facebook:hover {
                background: #3b5998;
                color: #fff;
            }
            .instagram:hover {
                background: #ee2a7b;
                color: #fff;
            }
            .linkedin:hover {
                background: #0077b5;
                color: #fff;
            }
        }
    }
}
.footer-credits {
    background: #16191b;
}

/*   Dashboard Link Background colors   */

.bg-color-1 {
    background-color: #ff6347; /* Tomato */
}
.bg-color-2 {
    background-color: #4682b4; /* Steel Blue */
}
.bg-color-3 {
    background-color: #3cb371; /* Medium Sea Green */
}
.bg-color-4 {
    background-color: #cd5c5c; /* Indian Red */
}
.bg-color-5 {
    background-color: #b8860b; /* Dark Goldenrod */
}
.bg-color-6 {
    background-color: #a9a9a9; /* Dark Gray */
}
.bg-color-7 {
    background-color: #db7093; /* Pale Violet Red */
}
.bg-color-8 {
    background-color: #6495ed; /* Cornflower Blue */
}
.bg-color-9 {
    background-color: #2e8b57; /* Sea Green */
}
.bg-color-10 {
    background-color: #ff4500; /* Orange Red */
}
.bg-color-11 {
    background-color: #9932cc; /* Dark Orchid */
}
.bg-color-12 {
    background-color: #ff8c00; /* Dark Orange */
}
.bg-color-13 {
    background-color: #8a2be2; /* Blue Violet */
}
.bg-color-14 {
    background-color: #daa520; /* Goldenrod */
}
.bg-color-15 {
    background-color: #20b2aa; /* Light Sea Green */
}
.bg-color-16 {
    background-color: #bc8f8f; /* Rosy Brown */
}

/* Custom background colors */
.bg-color-primary {
    background-color: #bed5f9; /* Custom bg Primary Color */
}
.bg-color-info {
    background-color: #4eaba8; /* Custom bg Info Color */
}
.bg-color-success {
    background-color: #d6e9cb; /* Custom bg Success Color */
}
.bg-color-danger {
    background-color: #fdd5cf; /* Custom bg Danger Color */
}
.bg-color-warning {
    background-color: #f7f2a9; /* Custom bg Warning Color */
}

/*/ Custom Border Colors */
.border-primary {
    border-color: #8B652A !important;
}
.border-info {
    border-color: #4eaba8 !important;
}
.border-success {
    border-color: #c1f0a4 !important;
}
.border-danger {
    border-color: #f4b0a6 !important;
}
.border-warning {
    border-color: #f1e97f !important;
}

/* Override Bootstrap 5 primary color utilities */
:root {
    --bs-primary: #8B652A;
    --bs-primary-rgb: 139, 101, 42;
}

.btn-primary {
    color: #fff;
    background-color: #8B652A;
    border-color: #8B652A;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #6e4f22;
    border-color: #6e4f22;
}

.text-primary {
    color: #8B652A !important;
}

.bg-primary {
    background-color: #8B652A !important;
}

.list-style-none {
    list-style: none;
}
.list-style-none li {
    margin-bottom: 10px; /* Adjust the value for the desired gap */
}

/*  Custom Border Radius */
.rounded-sm {
    border-radius: 15px;
}
.rounded-md {
    border-radius: 25px;
}

/*  CUSTOM HR  */
.custom-hr {
    border: 0;
    height: 1px; /* Adjust the thickness */
    background-color: #8f8e8e; /* Your custom color */
    width: 100%; /* Adjust the width as needed */
}

/* ------------------------------------ */
/*  ADMIN ADD FORM   */
/* ------------------------------------ */
.add-form-card {
    border: none;
}
.add-form-card .card-header{
    border: none;
}
.add-form-card .card-title {
    font-size: 22px;
    font-weight: 600;
    color: #885c2d;
}
.add-form-card .add-form-card-label {
    font-size: 15px;
    font-weight: 500;
}
.add-form-card .add-form-card-input,
.add-form-card .add-form-card-select {
    font-size: 14px;
    padding: 10px 15px;
}

.add-form-card .add-form-card-input:focus,
.add-form-card .add-form-card-select:focus {
    box-shadow: none;
}

.add-form-card-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.add-form-card-check-input:checked {
    background-color: #885c2d;
    border: 2px solid #885c2d;
}

.add-form-card-check-input:focus {
    box-shadow: none;
}

.form-btns-background {
    background: #dad8d8;
    border-radius: 5px;
}
.add-form-card-submit-btn {
    border: none;
    box-shadow: none;
    background: #885c2d;
    color: #fff;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
}
.add-form-card-cancel-btn {
    border: none;
    box-shadow: none;
    background: #868686;
    color: #000;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
}


/**
// CUSTOM CARD
**/
.qg-card{
    border: none;
}
.qg-card .card-header {
    border: none;
}

.qg-card .form-label{
    font-size: 15px;
    font-weight: 500;
}

.qg-card .form-control:focus{
    box-shadow: none;
}
.qg-card .form-control{
    font-size: 14px;
    padding: 10px 15px;
}

/*  Asterik (Important Fields)   */
.ast {
    color: red;
}

/*  Breadcrumbs  */
.custom-breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: #000;
}

/*  Teachers Table   */

/* Ensure dropdown opens on hover */
.tags-dropdown:hover .tags-dropdown-menu {
    display: block;
    margin-top: 0;
    margin-right: 50px;
}

/* Optional: Adjust the width of the dropdown menu */
.tags-dropdown-menu {
    min-width: 90px;
}
.tags-dropdown-menu .dropdown-item {
    font-size: 13px;
}

.teachers-table-card, .table-card {
    border: none;
}
.teachers-table-card label {
    font-size: 14px;
    font-weight: 600;
}

.teachers-table-card .form-control:focus {
    box-shadow: none;
}

.parent-search-input-group .input-group-text.parent-search-icon {
    border-radius: 20px 0 0 20px;
    border-color: #885c2d;
    color: #885c2d;
}

.parent-search-input-group .parent-search-form-input {
    border-radius: 0 20px 20px 0;
    border-color: #885c2d;
}

.parent-search-input-group .parent-search-form-input:focus {
    border-color: #885c2d;
}

.pagination .page-link {
    color: #885c2d;
    font-size: 14px;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #885c2d;
    border-color: #885c2d;
}

.pagination .page-item.active .page-link {
    background-color: #885c2d;
    border-color: #885c2d;
    color: #fff;
}

.students-table-card {
    border: none;
}
.students-table-card label {
    font-size: 14px;
    font-weight: 600;
}

.students-table-card .form-control:focus {
    box-shadow: none;
}
.teacher-search-form-input {
    font-size: 14px;
}
.teacher-search-form-input:focus {
    box-shadow: none;
}

.teachersTab .nav-item .nav-link {
    font-size: 14px;
}

.teachersTab .nav-item .nav-link {
    border-radius: 0px;
    color: #fff;
}
.teachersTab .nav-item .nav-link.active {
    border-top: 2px solid red;
    background: #fff;
    color: #000;
}

/* Teacher Tabs Background Colors   */
.t-bg-color-1 {
    background-color: #8a2be2; /* Blue Violet */
}
.t-bg-color-2 {
    background-color: #daa520; /* Goldenrod */
}
.t-bg-color-3 {
    background-color: #20b2aa; /* Light Sea Green */
}
.t-bg-color-4 {
    background-color: #bc8f8f; /* Rosy Brown */
}

.teachersTableLink {
    text-decoration: none;
    color: #000;
}
.teachersTableLink:hover {
    text-decoration: underline;
}

.teacher-account-profile-img-container img {
    width: 100%;
    height: 250px;
}
.right-col-title h2 {
    font-size: 22px;
}

.right-col-sub-title h3 {
    font-size: 19px;
}
.teacher-data {
    font-size: 14px;
}
.teacher-data-label .teacher-data-value {
    font-weight: 600;
    color: #885c2d;
}
.teacher-account-profile-tabs .nav-item .nav-link {
    color: #000;
}
.teacher-account-profile-tabs .nav-item .nav-link.active {
    border-top: 2px solid red;
}

.teacher-profile-links a:hover {
    background: #f1f1f1;
}
.teacher-profile-links button:hover {
    background: #f1f1f1;
}

.custom-switch-green:checked {
    background-color: #28a745;
    /* Bootstrap green */
    border-color: #28a745;
}

/* Optional: make switch thumb white for contrast */
.custom-switch-green:checked:before {
    background-color: #fff;
}

/*  Teacher Schedule   */
.teacher-home-date-input {
    box-shadow: none;
    max-width: 150px;
    margin-left: 20px;
    font-size: 14px;
}

.schedule-table th {
    background-color: #885c2d;
    font-size: 13px;
    color: white;
}

.time-column-t {
    font-size: 14px;
}

.time-slot {
    background-color: rgb(
        156,
        104,
        44
    ) !important; /* Background color for entire cell */
    padding: 10px; /* Padding to create space inside cell */
    vertical-align: top; /* Aligns content to the top */
    position: relative; /* Allows positioning of buttons */
}

.slot-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
}

.time-slot .minus {
    color: #fff;
}
.time-slot .minus,
.time-slot .slash {
    background-color: transparent; /* Transparent background for buttons */
    border: none;
    font-size: 11px;
    cursor: pointer;
    padding: 2px 2px;
    /* Align buttons to the left inside the cell */
    margin-bottom: 5px;
}

.student-info {
    margin-top: 5px; /* Space above student info */
}

.student-time,
.student-country {
    font-size: 12px;
}

.teacher-schedule-teacher-details p {
    font-size: 16px;
    margin: 0;
}
.teacher-schedule-teacher-details p span {
    color: #885c2d;
    font-weight: 600;
}

/*  ============================  */
/*  Add Class Modal  */
/*  ============================  */

.addClassModalForm .form-label {
    font-size: 14px;
    font-weight: 600;
}

.addClassModalForm .form-input,
.addClassModalForm .form-select {
    font-size: 14px;
    padding: 10px 15px;
}
.addClassModalForm .form-input option {
    font-size: 14px;
}
.addClassModalForm .form-input:focus,
.addClassModalForm .form-select:focus,
.addClassModalForm .form-check-input:focus {
    box-shadow: none;
}
.addClassModalForm .form-check-input {
    padding: 8px;
}
.addClassModalForm .form-check-input:checked {
    background-color: #885c2d;
    border: 2px solid #885c2d;
}
.addClassModalForm .form-check-label {
    font-size: 14px;
    margin-left: 5px;
}

.addClassModalForm .modal-footer .btn-add {
    background: #885c2d;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    color: #fff;
    transition: 0.3s ease-in-out;
}
.addClassModalForm .modal-footer .btn-add:hover {
    background: #6a4621;
}
.addClassModalForm .modal-footer .btn-cancel {
    background: #9c9c9c;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    color: #fff;
    transition: 0.3s ease-in-out;
}
.addClassModalForm .modal-footer .btn-cancel:hover {
    background: #7a7a7a;
}

/*
--------------------------
Teacher
--------------------------   
  */

.courseMaterial .nav-tabs .nav-item .nav-link {
    font-size: 14px;
    color: #000;
}
.courseMaterial .nav-tabs .nav-item .nav-link.active {
    border-top: 2px solid #ff4500;
}

.courseContent .courseDesc .courseTitle {
    text-decoration: none;
    font-size: 18px;
    color: #000;
}
.courseContent .courseDesc p {
    margin: 0;
}
.courseContent .courseDesc .courseTitle:hover {
    color: #444444;
}

/* Star Rating System */
.star-rating {
    display: inline-block;
}

.star {
    font-size: 18px;
    cursor: pointer;
    color: #ffd700;
    transition: color 0.3s ease;
}
.bg-color-main {
    border: none;
    box-shadow: none;
    background: #885c2d;
    color: #fff;
    font-size: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}
.bg-color-main:hover {
    background: #885c2d;
    color: #fff;
}
.text-color-primary {
    color: #885c2d;
}
.text-color-sec {
    color: #bebebe;
}
.font-weight-600 {
    font-weight: 600;
}

.tarteel-qaida-lesson .chap-no {
    font-size: 25px;
    font-weight: 500;
    color: #311d08;
    margin: 0;
}

.tarteel-qaida-lesson .chap-name {
    font-size: 40px;
    font-weight: 600;
    color: #885c2d;
    margin: 0;
}
.tarteel-qaida-lesson .lesson-no {
    font-size: 20px;
    font-weight: 500;
    color: #311d08;
    margin: 0;
}
.tarteel-qaida-lesson .lesson-name {
    font-size: 30px;
    font-weight: 400;
    color: #885c2d;
    margin: 0;
}

.rtl {
    direction: rtl;
}
.qaida-box {
    background: linear-gradient(to top, #885c2d, #be8241);
    border-radius: 40px;
}
.qaida-box .card-body {
    line-height: 140px;
}
.amiri {
    font-family: "QaidaFont", serif;
}
.qaida-box .qaida-box-text {
    font-size: 80px;
    color: #fff;
    font-weight: 500;
}
.lesson-img {
    width: 100%;
    /* Ensures the image takes full width of its container */
    height: auto;
    /* Maintains the aspect ratio */
    max-height: 150px;
    /* Limits the height for uniformity */
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    border-radius: 8px;
    /* Optional: Adds rounded corners for a better look */
}

/* Media query for smaller screens */
@media (max-width: 576px) {
    .lesson-img {
        max-height: 120px;
        /* Adjusts the height for small screens */
    }
}

@media (max-width: 768px) {
    .lesson-img {
        max-height: 130px;
        /* Slightly reduces height on tablets */
    }
}
.start_lesson {
    text-align: center;
    font-size: 60px;
    font-family: "Lateef", serif;
    color: #895c2d;
}

.alert-custom {
    background: #b0783e;
}
.alert-custom .oob {
    color: #f6ff66;
    font-size: 20px;
    margin-left: 30px;
}
.alert-custom .ins {
    font-size: 30px;
    color: #fff;
}
.letter {
    font-size: 50px;
    color: #fff;
}
.dis {
    font-size: 25px;
    color: #ffaf00;
}
.alert-one {
    background-image: linear-gradient(#b58b67, #ad8f6e);
    border-color: #895c2d;
    color: #000;
    transition: 0.3s all;
}
.alert-one:hover {
    border-color: #fff;
    color: #fff;
    z-index: 10;
}
.alert-two {
    background-image: linear-gradient(#b58b67, #ad8f6e);
    border-color: #895c2d;
    color: #000;
    transition: 0.3s all;
}
.alert-two:hover {
    background-image: linear-gradient(#000000, #222323);
    border-color: #fff;
    color: #fff;
    scale: 1.3;
    z-index: 10;
}

.alert-three {
    background-image: linear-gradient(#b58b67, #ad8f6e);
    border-color: #895c2d;
    color: #000;
    transition: 0.3s all;
}
.alert-three:hover {
    background-image: linear-gradient(#000000, #222323);
    border-color: #fff;
    color: #fff;
    z-index: 10;
}
.alert-three:hover td {
    color: #fff;
}
.alert {
    border-width: 3px;
    border-radius: 25px;
}
.pt {
    text-align: center;
    vertical-align: middle;
    font-size: 80px;
    margin: 10px;
}
.boldone:hover {
    color: #fa2300;
}

.modal-table-td{
    font-size: 150px;
    unicode-bidi: embed;
    padding: 40px;
}
.fs-150{
    font-size: 150px;
}
.text-box {
    width: 100%;
    height: 217px;
    display: table-cell;
    vertical-align: middle;
}

.text-box span {
    display: inline-block;
}

/* Custom button class */

.custom-btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 30px;
    border: none;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Previous button styles */
.custom-btn-previous {
    background-color: #e74c3c;
}

.custom-btn-previous:hover {
    background-color: #c0392b;
}

/* Next button styles */
.custom-btn-next {
    background-color: #2ecc71;
}

.custom-btn-next:hover {
    background-color: #27ae60;
}

/* Custom navigation container */
 .custom-navigation {
     position: fixed;
     max-width: 400px;
     top: 120px;
     left: 10px;
     display: flex;
     flex-wrap: wrap;
     /* Stack elements vertically */
     align-items: flex-start;
     /* Align elements to the left */
     gap: 5px;
     z-index: 9999;
 }
/* Previous button styling */
.custom-navigation-prev {
    position: relative;
}

/* Next button styling */
.custom-navigation-next {
    display: flex;
    gap: 5px;
    flex-direction: row;
    font-size: 12px;
}
.custom-navigation select {
    width: 30%;
    /* Make select dropdown the full width */
}

.custom-btn-copy{
    background-color: #db7093;
    color: #fff;
    font-size: 12px;
}
.custom-navigation-prev a .custom-btn-previous{
    font-size: 12px;
}
.custom-navigation-next a .custom-btn-next{
    font-size: 12px;
}

.modal-content .alert {
    border: 10px solid #fff !important;
}
.pt1 {
    text-align: center;
    vertical-align: middle;
    font-size: 30px;
    margin: 5px;
}
.taken-badge {
    opacity: 0.6 !important;
    padding: 10px;
    font-weight: 500;
    font-size: 11px;
    cursor: not-allowed;
    user-select: none;
}

.requests-page-card-title {
    color: #895c2d;
    font-size: 15px;
    margin: 0;
}

.divider {
    border: 0; /* Remove default border */
    border-top: 2px solid #895c2d; /* Horizontal line style */
    margin: 10px 0; /* Space above and below the line */
}

/* Edit Picture Modal  */
.editPicModalWrapper .currentPicWrapper {
    img {
        width: 140px;
        height: 140px;
        border-radius: 10px;
        object-fit: contain;
    }
}
.editPicModalWrapper {
    .form-control {
        box-shadow: none;
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* Vertical Line  */

.vertical-line {
    position: relative;
    width: 1px;
    height: 25px;
    background-color: #ddd;
}

#TeacherRequestsTabs .nav-link {
    color: #000;
}
#TeacherRequestsTabs .nav-link.active {
    background-color: #885c2d;
    color: #fff;
}

/*  PAY NOW BUTTON   */
.payNowButton {
    text-decoration: none;
    margin: 0;
    padding: 8px 10px;
    border: none;
    background: #2e8b57;
    color: #f3f3f3;
    font-size: 13px;
    border-radius: 4px;
    transition: 0.3s ease-in-out;
}
.payNowButton:hover {
    background: #21663f;
}



.task-item {
    transition: all 0.3s ease;
    border-left: 4px solid var(--bs-primary);
}

.task-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.task-title {
    color: #885c2d;
    font-weight: 600;
    font-size: 16px;
}

.task-description {
    white-space: pre-wrap;
    line-height: 1.6;
}

.active-task-filter {
    background-color: #885c2d !important;
    color: white !important;
}

.active-task-filter .badge {
    background-color: white !important;
    color: #000000 !important;
}

.task-response {
    border-left: 3px solid var(--bs-success);
}


/* Admin Dairy Notes / Reminders */ 
.reminder-item {
    transition: all 0.3s ease;
    border-left: 4px solid var(--bs-primary);
}

.reminder-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reminder-title {
    color: #885c2d;
    font-weight: 600;
    font-size: 14px;
}

.reminder-note {
    white-space: pre-wrap;
    line-height: 1.6;
}

.completed-reminder {
    opacity: 0.8;
    border-left-color: var(--bs-success);
}

/* Smooth background blink animation */
@keyframes smoothBlink {
    0% {
        background-color: rgba(220, 53, 69, 0.1);
    }

    50% {
        background-color: rgba(220, 53, 69, 0.3);
    }

    100% {
        background-color: rgba(220, 53, 69, 0.1);
    }
}

.reminder-overdue {
    animation: smoothBlink 2s infinite ease-in-out;
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
}

.reminder-overdue:hover {
    animation: none;
    background-color: rgba(220, 53, 69, 0.1);
}



/* Button Loading States */
.btn[disabled],
.btn.loading {
    cursor: not-allowed;
    position: relative;
}

/* Smooth transition for opacity changes */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s ease-in-out;
}

/* Loading spinner animation */
.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.15em;
}

/* Prevent double-click during loading */
.button-group .btn[disabled] {
    user-select: none;
}

/* Loading state for badge buttons */
.badge.btn[disabled] {
    opacity: 0.6;
}

/* Ensure spinner is visible on all badge colors */
.badge .spinner-border {
    border-color: currentColor;
    border-right-color: transparent;
}