﻿body {
    color: #000;
    font-weight: 400;
    background: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 0.75rem;
    font-family: Roboto, Arial, sans-serif;
}

::-webkit-scrollbar {
    width: .6em;
    height: .6em;
}

::-webkit-scrollbar-track-piece {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: #a3a3a3;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 9999s ease-in-out 0s;
}

.form-group{
    margin-bottom:10px;
}

label {
    font-size: 0.77rem;
    font-weight: 400;
    color: #000 !important;
}

.control-label {
    font-weight: 500;
}

label.required::after {
    content: " *";
    color: red;
}

.form-control {
    padding: 8px;
    font-weight: 450;
    font-size: 0.85rem;
    color: #000 !important;
    border-color:rgba(0,0,0,0.5);
}

.form-control:focus {
    border-width: 1.5px !important;
    border-color: orange !important;
    box-shadow: 0 0 0 0.7px orange;
}

.form-group-float {
    position: relative;
    margin-bottom: 1rem;
}

.form-control-float {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.85rem;
    background: none;
    outline: none;
    transition: border-color 0.3s;
}

.form-control-float:focus {
    border-color: orange;
    box-shadow: 0 0 0 0.7px orange;
}

.form-label-float {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #888;
    pointer-events: none;
    transition: 0.2s ease all;
    background: #fff;
    padding: 0 4px;
    margin-left:6px;
}

.form-group-float .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); /* arrow icon */
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    color: #000;
}

.form-control-float:focus + .form-label-float,
.form-control-float:not(:placeholder-shown) + .form-label-float {
    top: 0px;
    left: 8px;
    font-size: 0.75rem;
    color: orange;
}

.form-group-float.multiselect-group .form-label-float {
    top: 0px;
    font-size: 0.75rem;
    color: #888;
}

.page-heading {
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.5rem 1rem 1rem 1rem;
    position: sticky;
    z-index: 1050;
    background: #fff;
}

/* Script-style font for the page heading title */
.page-heading-title {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(90deg, #000000, #434343, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    padding:0;
}

/* Subtitle with Roboto font */
.page-heading-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: none;
    line-height: 0.5;
    position: absolute;
}

.page-heading-actions ul{
    margin:0px;
}

.recordsCounter {
    color: #000;
    margin: 0px;
    padding: 0px;
    font-weight: 400;
    font-size: .85rem;
}

.recordsCounter strong{
    font-weight:500;
}

.dropdown-item a {
    text-decoration: none;
    padding: 10px 10px 10px 0px;
    font-size: 0.8rem;
    color: #000;
    font-weight: 400;
    cursor: pointer;
}

.dropdown-item i {
    font-size: 0.8rem;
    margin-right: 5px;
    color: #000;
    font-weight: 400;
}

.btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-warning {
    background-color: #de5c00 !important;
}

.btn_video {
    border: none;
    outline: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: block;
    background: linear-gradient(159deg, #1fa964 0%, #31f795 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    animation-name: ripple;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

.btn-success-light {
    gap:10px;
    color: #000 !important;
    margin: 5px !important;
    padding: 10px !important;
    background-color: #D7F5D3 !important;
}

.btn-success-light i, .btn-danger-light i{
    margin-right:10px;
}

.btn-danger-light {
    gap: 10px;
    color: #000 !important;
    margin: 5px !important;
    padding: 10px !important;
    background-color: #ffc7c7 !important;
}

.moreOptions {
    color: #fff;
    padding: 2px;
    display: inline-block;
}

.moreOptions a {
    text-decoration: none;
    padding: 8px;
    font-size: 0.7rem;
    color: #000;
    font-weight: 400;
    cursor: pointer;
}

.moreOptions a i {
    font-size: 0.8rem;
    margin-right: 5px;
    color: #000;
}

.moreOptions li{
    padding-left:0px;
}

input[type=checkbox]:checked + label {
    color: darkgreen;
    font-weight: bold;
}

.boxShadow {
    /*box-shadow: 0 4px 22px rgb(10 57 145 / 8%) !important;*/
}

#dataTables, .table {
    font-size: 0.7rem;
}

#dataTables thead, .table thead {
    background: #f9f9f9;
}

#dataTables thead tr, .table thead tr {
    line-height: 1.3;
    vertical-align: middle;
}

#dataTables tr th, .table tr th {
    color: #000;
    font-weight: 600;
    padding: 10px;
    background-color: rgba(79,70,229,0.2);
}

#dataTables tbody tr, .table tbody tr {
    line-height: 1;
    vertical-align: middle;
    transition: background 0.3s ease, transform 0.2s ease;
}

#dataTables tr td, .table tbody td {
    vertical-align: middle !important;
}

.table-hover tbody tr:hover, .table-hover tbody tr:hover {
    background: #fdfdfd;
    transform: scale(0.995);
}

.text-right {
    text-align: right;
}

.activeBox {
    background-color: rgba(50, 168, 82, 0.1);
    border: 1px solid rgba(50, 168, 82, 1);
    padding: 0.2rem !important;
    font-size: 0.6rem;
    color: #000;
}

.suspendedBox {
    background-color: rgba(176, 18, 57, 0.1);
    border: 1px solid rgba(176, 18, 57, 1);
    padding: 0.2rem !important;
    font-size: 0.6rem;
    color: #000;
}

.yellowBox {
    background-color: #ffd80040;
    border: 1px solid #ffd800;
    padding: 0.2rem !important;
    font-size: 0.6rem;
    color: #000;
}

.ui-autocomplete {
    z-index: 1050 !important;
}

/*DASHBOARD ICONS*/
.dashboard-card {
    border-radius: 0.5rem;
    padding: 1rem 1.8rem 1rem 1.8rem;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: gradientMove 6s ease infinite;
    margin-bottom: 1rem;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.dashboard-card h6 {
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    padding: 0px;
    margin: 0px;
}

.dashboard-card small {
    font-size: 0.8rem;
    color: #fff;
}

.dashboard-card .icon {
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.dashboard-card .counter {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    text-align: right;
}

/* Gradient themes for each box */
.card-blue {
    background: linear-gradient(135deg, #4facfe, #0072ff);
}

.card-green {
    background: linear-gradient(135deg, #56ab2f, #a8e063);
}

.card-yellow {
    background: linear-gradient(135deg, #ffb347, #ff7e00);
}

.card-red {
    background: linear-gradient(135deg, #ff6a6a, #d81e1e);
}

.card-indigo {
    background: linear-gradient(135deg, #43cea2, #185a9d);
}

.card-purple {
    background: linear-gradient(135deg, #a18cd1, #6f00ff);
}

.modern-alerts-card {
    transition: all 0.3s ease;
    background: #ffffff;
}

.modern-alerts-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.alert-item {
    transition: all 0.3s ease;
}

.alert-item:hover {
    background: #f3f4f6;
    transform: scale(1.01);
}

/*================ Student's Portal =========================*/
.StudentCard {
    box-shadow: 0 1px 4px 3px rgba(0, 0, 0, 0.14);
    background-color: #fff;
    padding-bottom: 1px;
}

.StudentCard .list-inline-item a {
    text-decoration: none;
    color: #000;
}

.StudentCard .list-inline-item i {
    font-size: 1.5rem;
    margin: 0px;
    padding: 0px;
    color: #dc3545;
}

.blink {
    animation: 2s linear infinite condemned_blink_effect;
}

@keyframes condemned_blink_effect {
    0% {
        visibility: hidden;
    }

    50% {
        visibility: hidden;
    }

    100% {
        visibility: visible;
    }
}

.RptLink {
    background-color: #fff;
    box-shadow: 0px 6px 6px -6px black;
    margin-bottom: 20px;
    transition: .3s ease-out;
    text-align: center;
    padding: 5px;
    font-family: 'Times New Roman';
    font-weight: 500;
    transform: scaleY(1.2);
}

.RptLink:hover {
    cursor: pointer;
    background-color: rgb(0 148 255 / 0.1);
}

.RptLink a {
    text-decoration: none;
    cursor: pointer;
    color: #000;
}

.alert button {
    font-size: 12px;
    padding: 10px !important;
}

.Uppercase {
    text-transform: uppercase;
}

.col-1-5 {
    flex: 0 0 auto;
    width: 12.5%;
}

/*JQUERY menuitem AUTOCOMPLETE TEXTBOX*/
.ui-menu {
}

.ui-menu .ui-menu {
}

.ui-menu .ui-menu-item {
    font-size: .7rem;
    font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
}

#camera {
    width: 250px;
    height: 187px;
    border: 1px solid #000;
    text-align: center;
}

.InfoLabel {
    padding: 0px;
    margin: 0px;
    color: #000;
    line-height: 1.1;
    font-size: 0.7rem;
}

.InfoText {
    padding: 0px;
    margin: 0px;
    color: #000;
    line-height: 1.3;
    font-size: 0.85rem;
    font-weight: 500;
}

.ui-timepicker-container {
    z-index: 1151 !important;
}

.select2-container .select2-selection--single {
    min-height: 2.5rem !important;
    height: auto !important;
    width: 100%;
    padding: 5px 2.5px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
}

.select2-heading {
    width: 100%;
    color: #000;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1;
    clear: both;
}

.select2-description {
    width: 100%;
    color: #000;
    font-weight: 350;
    font-size: 0.65rem;
    line-height: 1;
}

.cke_notifications_area {
    display: none !important;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-family: Roboto;
}

.action-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: rotate(10deg) scale(1.2);
}

.edit-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
}

.edit-btn:hover {
    color:#fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 18px rgba(245, 124, 0, 0.4);
}

.delete-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    box-shadow: 0 4px 12px rgba(255, 65, 108, 0.2);
}

.delete-btn:hover {
    color:#fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 65, 108, 0.4);
}

/*SEARCH BUTTON*/
.btn-search {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #6d28d9);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(79,70,229,0.4);
    position: relative;
    overflow: hidden;
}

.btn-search i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-search:hover {
    background: linear-gradient(135deg, #3730a3, #5b21b6);
    box-shadow: 0 8px 20px rgba(79,70,229,0.5);
}

.btn-search:active {
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(79,70,229,0.4);
}

.btn-search:hover i {
    transform: scale(1.2) rotate(10deg);
}

.btn-search::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.15);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.btn-search:hover::after {
    top: -60%;
    left: -60%;
    transform: rotate(45deg) translate(10px, 10px);
}

/*SEARCH INPUT FOR TABLE*/

.modern-search {
    position: relative;
    width: 100%;
    display: flex;
}

.modern-search input {
    flex: 1;
    padding: 8px 16px;
    padding-right: 70px; /* space for button */
    font-size: 0.8rem;
    border: none;
    border-radius: 50px;
    background: #f3f4f6;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.modern-search input:focus {
    background: #fff;
    box-shadow: 0 4px 14px rgba(79,70,229,0.3);
    transform: scale(1.02);
}

.modern-search button {
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    border: none;
    background: linear-gradient(135deg, #4f46e5, #6d28d9);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79,70,229,0.3);
}

.modern-search button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.modern-search button:hover {
    background: linear-gradient(135deg, #3730a3, #5b21b6);
    box-shadow: 0 6px 18px rgba(79,70,229,0.4);
}

.modern-search button:hover i {
    transform: scale(1.2) rotate(10deg);
}

.modern-search button:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 3px 10px rgba(79,70,229,0.3);
}

/*MODAL POPUP*/
.modal-content {
    border-radius: 1rem;
    border: none;
    background: #fff;
    color: #000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    background: linear-gradient(135deg, #1e3c72,#4b0082);
    border-bottom: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    max-height:3rem;
}

.modal-title {
    margin: 0px;
    padding: 0px;
}

/* Preloader container with glassmorphism */
.preloader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
/*    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);*/
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: auto;
}

/* Circle wrapper */
.circle-wrapper {
    position: relative;
    width: 11.25vw;
    height: 11.25vw;
    max-width: 105px;
    max-height: 105px;
    min-width: 60px;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Rotating blue circle */
.circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0.3vw solid #ccc;
    border-top: 0.3vw solid #007bff;
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
    box-sizing: border-box;
}

/* PTS text with pulse animation */
.circle-text {
    font-size: 1.7vw;
    font-weight: 900;
    color: #000;
    font-family: Roboto,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 2px;
    z-index: 2;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Circle rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* PTS pulsing animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}