.teacher-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.teacher-login-card {
    background: #fff;
    padding: 40px 50px;
    width: 420px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.teacher-logo-box img {
    height: 85px;
}

.teacher-logo-box h2 {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #4a3aff;
}

.teacher-welcome-text {
    margin-top: 20px;
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

.teacher-subtitle {
    margin-bottom: 30px;
    color: #666;
    font-size: 14px;
}

.teacher-input-group {
    text-align: left;
    margin-bottom: 20px;
}

.teacher-input-group label {
    font-size: 14px;
    color: #444;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.teacher-input-field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 12px;
    background: #f9f9f9;
}

.teacher-input-field i {
    color: #5e4ff7;
}

.teacher-input-field input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 15px;
}

.teacher-login-btn {
    width: 100%;
    padding: 14px;
    background: #4a3aff;
    color: #fff;
    font-size: 17px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.teacher-login-btn:hover {
    background: #362fd9;
}

.sidebar_link_wrapper.active {
    background: #2f2483;
}

.sidebar_link_wrapper.active i,
.sidebar_link_wrapper.active p {
    color: #decec1;
}

.teacher-input-field.is-invalid {
    border-color: #da542e;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23da542e'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23da542e' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #da542e;
}

.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip,
.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip {
    display: block;
}
.badge {
    color: #fff;
}
.bg-primary {
    background-color: #7460ee !important;
    border-color: #7460ee !important;
}

.bg-info {
    background-color: #2255a4 !important;
    border-color: #2255a4 !important;
}

.bg-success {
    background-color: #28b779 !important;
    border-color: #28b779 !important;
}

.bg-danger {
    background-color: #da542e !important;
    border-color: #da542e !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    margin-top: var(--bs-gutter-y);
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }

    .col-md-8 {
        flex: 0 0 auto;
        width: 66.6666666667%;
    }
}

.pull-right {
    float: right;
}
.custom-pagination {
    margin-top: 0px;
}

[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #3e5569;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 2px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    color: #3e5569;
}

.view-btn {
    color: #008000;
    padding: 0;
}

.student_list_search_wrapper .fa-bars-staggered {
    cursor: pointer;
}

.student_list_search_wrapper .fa-bars-staggered:hover {
    background-color: #ede9d0;
    color: #2f2483;
}

.student_list_search_wrapper .fa-ban {
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    background-color: #da542e;
    cursor: pointer;
}
.student_list_search_wrapper .fa-ban:hover {
    background-color: #ede9d0;
    color: #da542e;
}

.student_list_wrapper_head input {
    width: 290px;
}

.student_list_wrapper_head select {
    width: 290px;
    height: 35px;
    border-radius: 15px;
    border: none;
    padding: 0 10px;
    font-size: 13px;
    outline: none;
    background-color: #f7f8fa;
}

select option {
    padding: 14px 18px;
    font-size: 15px;
    color: #333;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    font-family: "Poppins", sans-serif;
}

select option:hover {
    background-color: #f7f3ff !important;
    color: #4a2fbd;
}

select option:checked {
    background-color: #e9e1ff !important;
    color: #4a2fbd;
    font-weight: 600;
}

select {
    scrollbar-width: thin;
    scrollbar-color: #c4b5fd #f5f5f5;
}

select::-webkit-scrollbar {
    width: 6px;
}
select::-webkit-scrollbar-thumb {
    background: #c4b5fd;
    border-radius: 10px;
}
select::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.custom-modal.show {
    display: flex;
    opacity: 1;
}

.custom-modal-dialog {
    background: #fff;
    width: 500px;
    border-radius: 8px;
    transform: translateY(-20px);
    transition: transform 0.25s ease;
}

.custom-modal.show .custom-modal-dialog {
    transform: translateY(0);
}

.custom-modal-content {
    padding: 0;
}

.custom-modal-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-title {
    margin: 0;
}

.custom-modal-close {
    background: none;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.custom-modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.custom-modal-footer {
    padding: 15px;
    border-top: 1px solid #ddd;
    text-align: right;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
.btn-danger:hover {
    background: #bb2d3b;
    color: #fff;
}

.modal-x-lg {
    width: 1000px;
}

.modal-lg {
    width: 800px;
}

.modal-x-x-lg {
    width: 1400px;
}

.date_para7889 {
    font-size: 14px;
}

.student_list_search_wrapper .fa-plus {
    cursor: pointer;
}

.student_list_search_wrapper .fa-plus:hover {
    background-color: #ede9d0;
    color: #2f2483;
}

.fs-1 {
    font-size: 2.5rem !important;
}
.fs-2 {
    font-size: 2rem !important;
}
.fs-3 {
    font-size: 1.75rem !important;
}
.fs-4 {
    font-size: 1.5rem !important;
}
.fs-5 {
    font-size: 1.25rem !important;
}
.fs-6 {
    font-size: 1rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}
.mt-1 {
    margin-top: 0.25rem !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-5 {
    margin-top: 3rem !important;
}
.mt-auto {
    margin-top: auto !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
.mb-auto {
    margin-bottom: auto !important;
}

.back-button-wrapper {
    display: flex;
    justify-content: end;
}

input.urdu_input {
    text-align: right;
    direction: rtl;
}

input.urdu_input::placeholder {
    text-align: left;
    direction: ltr;
}

textarea.urdu_input {
    text-align: right;
    direction: rtl;
}

textarea.urdu_input::placeholder {
    text-align: left;
    direction: ltr;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.btn-icon {
    padding: 0;
}
.attendance-btn {
    color: #7460ee;
}

.add-attendance-btn {
    color: #2255a4;
}

.edit-btn {
    color: #ffa500;
}

.delete-btn {
    color: #ff0000;
}

.custom-tooltip {
    position: fixed;
    background-color: #212529;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1080;
    display: none;
    pointer-events: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .col-md {
        flex: 1 0 0%;
    }
    .row-cols-md-auto > * {
        flex: 0 0 auto;
        width: auto;
    }
    .row-cols-md-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }
    .row-cols-md-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }
    .row-cols-md-3 > * {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }
    .row-cols-md-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }
    .row-cols-md-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-md-6 > * {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }
    .col-md-auto {
        flex: 0 0 auto;
        width: auto;
    }
    .col-md-1 {
        flex: 0 0 auto;
        width: 8.3333333333%;
    }
    .col-md-2 {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }
    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }
    .col-md-5 {
        flex: 0 0 auto;
        width: 41.6666666667%;
    }
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-md-7 {
        flex: 0 0 auto;
        width: 58.3333333333%;
    }
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.6666666667%;
    }
    .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }
    .col-md-10 {
        flex: 0 0 auto;
        width: 83.3333333333%;
    }
    .col-md-11 {
        flex: 0 0 auto;
        width: 91.6666666667%;
    }
    .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
    .offset-md-0 {
        margin-left: 0;
    }
    .offset-md-1 {
        margin-left: 8.3333333333%;
    }
    .offset-md-2 {
        margin-left: 16.6666666667%;
    }
    .offset-md-3 {
        margin-left: 25%;
    }
    .offset-md-4 {
        margin-left: 33.3333333333%;
    }
    .offset-md-5 {
        margin-left: 41.6666666667%;
    }
    .offset-md-6 {
        margin-left: 50%;
    }
    .offset-md-7 {
        margin-left: 58.3333333333%;
    }
    .offset-md-8 {
        margin-left: 66.6666666667%;
    }
    .offset-md-9 {
        margin-left: 75%;
    }
    .offset-md-10 {
        margin-left: 83.3333333333%;
    }
    .offset-md-11 {
        margin-left: 91.6666666667%;
    }
    .g-md-0,
    .gx-md-0 {
        --bs-gutter-x: 0;
    }
    .g-md-0,
    .gy-md-0 {
        --bs-gutter-y: 0;
    }
    .g-md-1,
    .gx-md-1 {
        --bs-gutter-x: 0.25rem;
    }
    .g-md-1,
    .gy-md-1 {
        --bs-gutter-y: 0.25rem;
    }
    .g-md-2,
    .gx-md-2 {
        --bs-gutter-x: 0.5rem;
    }
    .g-md-2,
    .gy-md-2 {
        --bs-gutter-y: 0.5rem;
    }
    .g-md-3,
    .gx-md-3 {
        --bs-gutter-x: 1rem;
    }
    .g-md-3,
    .gy-md-3 {
        --bs-gutter-y: 1rem;
    }
    .g-md-4,
    .gx-md-4 {
        --bs-gutter-x: 1.5rem;
    }
    .g-md-4,
    .gy-md-4 {
        --bs-gutter-y: 1.5rem;
    }
    .g-md-5,
    .gx-md-5 {
        --bs-gutter-x: 3rem;
    }
    .g-md-5,
    .gy-md-5 {
        --bs-gutter-y: 3rem;
    }
}
.add_attendance_wrapper {
    margin-top: 50px;
    margin-bottom: 35px;
}

.batch_wrapper button {
    margin-top: 0px;
}

.add_attendance_wrapper .assignment_input_wrapper {
    margin-bottom: 50px;
}

.text-success {
    color: #28b779 !important;
}

.text-danger {
    color: #da542e !important;
}
