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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: "Noto Sans", sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
}
td{
    color: #24272AB2 !important;
}

.login-wrapper .container-fluid {
    min-height: 100vh;
}

.login-left {
    background: #2c2c2c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    min-height: 100vh;
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.logo-image img {
    height: auto;
    width: 100%;
    max-width: 300px;
    object-fit: contain;
}

.logo-text-arabic {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}

.logo-text-english {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-top: 5px;
}

.login-right {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
    min-height: 100vh;
}

@media (max-width: 1199.98px) {
    .login-right {
        padding: 50px 60px;
    }
}

.login-form-container {
    width: 100%;
    max-width: 450px;
}

.login-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-form-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #24272A;
    margin-bottom: 10px;
}

.login-form-header p {
    font-size: 16px;
    color: #24272AB2;
    font-weight: 400;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #24272A;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s, background-color 0.3s;
    background: #24272A0D;
    color: #24272AB2;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
    background: #ffffff;
}

.form-group input::placeholder {
    color: #999999;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.eye-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666666;
    font-size: 18px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: color 0.3s;
}

.eye-icon:hover {
    color: #ff6b35;
}

.eye-icon i {
    font-size: 18px;
    line-height: 1;
}

.forgot-password-wrapper {
    text-align: right;
    margin-bottom: 15px;
}

.forgot-password {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #e55a2b;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d1edff;
    border: 1px solid #b3d9ff;
    color: #004085;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.footer-links {
    margin-top: 20px;
    text-align: left;
}

.footer-links a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .login-left {
        height: 60vh;
        padding: 40px 30px;
    }

    .login-right {
        min-height: auto;
        padding: 50px 40px;
    }

    .login-form-container {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .login-left {
        min-height: auto;
        padding: 35px 25px;
    }

    .logo-image img {
        max-width: 230px;
    }

    .login-right {
        padding: 45px 30px;
    }

    .login-form-header h1 {
        font-size: 28px;
    }

    .login-form-header p {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .login-left {
        min-height: auto;
        padding: 30px 20px;
    }

    .logo-image {
        gap: 10px;
    }

    .login-right {
        padding: 40px 20px;
        min-height: auto;
    }

    .login-form-header {
        margin-bottom: 30px;
    }

    .login-form-header h1 {
        font-size: 24px;
    }

    .login-form-header p {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input {
        padding: 12px 15px;
        font-size: 15px;
    }

    .login-button {
        padding: 14px;
        font-size: 16px;
    }

    .forgot-password {
        font-size: 14px;
    }
    .table-controls{
        flex-wrap: wrap;
    }
    .filter-box{
        width: 100%;
    }
     #schoolFilter{
        width: 100%;
     }
     .btn-secondary{
        width: 100% !important;
     }
}

/* Dashboard styles */
.dashboard-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f7f7f7;
    color: #24272A;
}

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

.dashboard-page .sidebar {
    width: 250px;
    background: #ffffff;
    color: #ffffff;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: transform 0.25s ease;
}

.dashboard-page .sidebar-header {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.dashboard-page .sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color:#24272AB2;
}

.dashboard-page .sidebar-subtitle {
    font-size: 12px;
    color: #24272AB2;
}

/* .dashboard-page .sidebar-menu {
    padding: 10px 0;
} */

.dashboard-page .menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #24272AB2;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-left 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 14px;

}

.dashboard-page .menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FF6B00;
     border-left: 5px solid #FF6B00;
}

.dashboard-page .menu-item.active {
    background: #FF6B0026;
    color: #FF6B00;
    border-left: 5px solid #FF6B00;
    font-weight: 600;
    width: 95%;
}

.menu-item:hover img {
    filter: brightness(10) saturate(100%) invert(62%) sepia(82%) saturate(2876%) hue-rotate(2deg) brightness(101%) contrast(101%);
}

/* Active state */
.menu-item.active img {
    filter: brightness(10) saturate(100%) invert(62%) sepia(82%) saturate(2876%) hue-rotate(2deg) brightness(101%) contrast(101%);
}

.dashboard-page .menu-img {
    height: 18px;
    width: 18px;
}

.dashboard-page .menu-toggle {
    display: none;
}

.dashboard-page .main-content {
    margin-left: 250px;
    flex: 1;
    width: calc(100% - 220px);
    background: #f7f7f7;
    min-height: 100vh;
}

.dashboard-page .header {
    background: #ffffff;
    padding: 18px 22px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 90;
}

.dashboard-page .header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.dashboard-page .header h1 {
    font-size: 18px;
    font-weight: 600;
    color: #24272A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-page .header-logo {
    height: 20px;
    width: auto;
}

.dashboard-page .dashboard-container {
    padding: 22px;
}

.dashboard-page .section {
    margin-bottom: 18px;
}

.dashboard-page .section-title {
    font-size: 16px;
    font-weight: 700;
    color: #24272A;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.dashboard-page .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.dashboard-page .card {
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.dashboard-page .card-title {
    font-size: 15px;
    color: #24272A;
    font-weight: 500;
}

.dashboard-page .card-count {
    font-size: 15px;
    font-weight: 500;
    color: #24272A;
    margin-top: 4px;
}

.dashboard-page .card-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}



.dashboard-page .logout {
    margin-top: 12px;
}

@media (max-width: 992px) {
    .dashboard-page .sidebar {
        transform: translateX(-100%);
    }
    .dashboard-page .sidebar.active {
        transform: translateX(0);
    }
    .dashboard-page .main-content {
        margin-left: 0;
        width: 100%;
    }
    .dashboard-page .menu-toggle {
        display: block;
        position: fixed;
        top: 12px;
        left: 12px;
        background: #ffffff;
        border: 1px solid #ededed;
        padding: 6px 10px;
        border-radius: 6px;
        z-index: 1100;
    }
    .dashboard-page .header {
        padding-left: 52px;
    }
    .dashboard-page .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .dashboard-page .dashboard-container {
        padding: 18px 14px;
    }
}

.d-none {
    display: none !important;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 12px 10px 40px; 
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none; 
}
.search-box input{
    text-indent: 20px;
    height: 50px;
    background-color: #FF6B0026;
    color: #24272AB2;
}
.search-box input::placeholder{
   color: #24272AB2;
}
.filter-select{
    height: 50px;
}
#schoolFilter{
    height: 50px;
}
.date-filter{
    height: 50px;
}
.modal-header h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: white;
    margin: 0;
}

.modal-header img {
    width: 30px;
    height: 30px;
}
.status-active{
    background: #5399184D !important;
    color: #539918 !important;
}
.status-pending{
      background:#FFA70033 !important;
    color: #FFA700 !important;
}
.detail-label{
    color: #24272A !important;
    text-transform: capitalize !important;
    font-size: 13px !important;
}
.detail-value{
    color:#24272AB2 !important;
    
}
.star-icon {
    width: 18px;
    height: 18px;
    margin-right: 2px;
    vertical-align: middle;
}


/* logout css */
.menu-item.logout {
    display: flex;
    align-items: center;
    gap: 12px; 
    text-decoration: none;
   
}
.menu-item.logout:hover img{
    filter: unset !important;
}
.logout-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logout-text-wrapper img{
    margin-left: 5px;
    width: 15px;
    height: 15px;
}
.logout-icon-circle img {
    width: 40px;
    height: 40px;
}

.logout-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logout-title {
    font-size: 16px;
    font-weight: 600;
    color: #24272A;
}
.logout-text {
    font-size: 14px;
    font-weight: 400;
    color: #EF4129;
}

.logout-arrow {
    width: 14px;
    margin-top: 2px;
}
.search-box input:focus{
    border: 2px solid #FF6B00 !important;
}
.date-filter:focus{
    border: 2px solid #FF6B00 !important;
}
.approve-btn{
    background: linear-gradient(90deg, #FF6B00 0%, #EF4129 100%) !important;
    color: #fff !important;
}
.reject-btn{
    background: #24272A26!important; 
    color: #24272AB2 !important;
}