﻿/* GLOBAL */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background: #f5f7fa;
    color: #333;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.btn-link {
    text-decoration: none;
    font-size: 14px;
}

.password-container {
    position: relative;
}

.password-eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}
/* MAIN LAYOUT */

.main-wrapper {
    min-height: 100vh;
    padding: 10px;
}

.portal-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    min-height: calc(100vh - 20px);
    box-shadow: 0 2px 12px rgba(0,0,0,.10);
}

/*  LEFT PANEL*/

.left-panel {
    position: relative;
    min-height: 100vh;
    background: linear-gradient( rgba(0, 51, 153, 0.80), rgba(0, 31, 84, 0.85) ), url('../images/college-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 40px;
    height:100%;
    
}

    .left-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 30, 90, 0.15);
    }

    .left-panel > * {
        position: relative;
        z-index: 1;
    }

.logo-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: #003366;
    font-size: 42px;
    margin-bottom:10px;
}

.portal-title {
    margin-top: 20px;
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
}

.portal-subtitle {
    text-align: center;
    font-size: 18px;
    color: #ffd54f;
    margin-top: 8px;
    font-weight: bold;
}

.portal-divider {
    width: 80%;
    margin: 20px auto;
    border-color: rgba(255,255,255,.30);
}

/* FEATURES */

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 15px;
}

.feature h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.feature p {
    margin: 3px 0 0;
    font-size: 14px;
}

.col-list {
    list-style: square;
    margin-left: 60px;
}

    .col-list li {
        margin-bottom: 5px;
        font-size: 16px;
        letter-spacing: 2px;
    }

/* HELPDESK */

.help-section {
    background: rgba(0,0,0,.20);
    padding: 20px;
    margin-top: 35px;
    border-radius: 5px;
}

.help-title {
    color: #ffd54f;
    font-size: 20px;
    font-weight: 600;
}

.help-section h5 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.help-section p {
    font-size: 14px;
    margin-bottom: 5px;
}

/* RIGHT PANEL */

.right-panel {
    min-height: calc(100vh - 20px);
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* LOGIN CARD */

.login-card {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.login-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    background: #edf3ff;
    color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.login-title {
    text-align: center;
    margin-top: 15px;
    font-size: 24px;
    font-weight: 700;
    color: #003366;
}

.divider {
    width: 150px;
    height: 2px;
    background: #d8dde7;
    margin: 15px auto 25px;
}

/* FORM */

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-control,
.form-select {
    height: 42px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

    .form-control:focus,
    .form-select:focus {
        box-shadow: none;
        border-color: #0056b3;
    }

/*    CAPTCHA */

.captcha-box {
    height: 42px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 4px;
    color: #003399;
}

/* BUTTONS  */

.login-btn {
    height: 44px;
    background: #0056b3;
    border: 1px solid #0056b3;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

    .login-btn:hover {
        background: #004494;
        border-color: #004494;
    }

.forgot-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

/* NOTE BOX */

.note-box {
    margin-top: 20px;
    background: #eef5ff;
    border: 1px solid #d6e6ff;
    border-radius: 6px;
    padding: 15px;
}

    .note-box h5 {
        font-size: 16px;
        font-weight: 600;
        color: #0047ab;
    }

    .note-box a {
        font-size: 14px;
        margin-bottom: 0;
        color: #000;
        padding: 5px;
        border: 0.3px solid #EEF5FF;
    }

        .note-box a i {
            margin-right: 5px;
        }

        .note-box a:hover {
            background-color: #fff;
            padding: 5px;
            border: 0.3px solid #c4c0c0;
            border-radius: 5px;
        }

/*    FOOTER */

.footer-text {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 15px;
}
/*loading*/
#loader {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.75);
    z-index: 999999;
}

.loader-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #e5e5e5;
    border-top: 6px solid #003399;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

.loading-text {
    margin-top: 15px;
    font-size: 18px;
    color: #003399;
    font-weight: 600;
}

@keyframes spin {

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Captcha Container */

#imgCaptcha {
    width: 220px;
    height: 60px;
    border: 1px solid #808080;
    border-radius: 6px;
    background: #fff;
}

.fa-refresh {
    font-size: 30px;
    color: #0099ff;
    cursor: pointer;
}

    .fa-refresh:hover {
        transform: rotate(180deg);
        transition: .4s;
    }

/*footer other login*/
.login-options-footer {
    display: flex;
    gap: 15px;
    padding: 18px 18px 0 18px;
}

.login-card-footer {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: .3s;
    border: 1px solid #d9e4f5;
    background: #f8fbff;
}

    .login-card-footer .icon {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #fff;
        flex-shrink: 0;
    }

.admin .icon {
    background: linear-gradient(135deg,#003399,#1e88e5);
}

.director .icon {
    background: linear-gradient(135deg,#00897b,#26a69a);
}

.login-card-footer h4 {
    margin: 0;
    color: #003399;
    font-size: 17px;
    font-weight: 700;
}

.login-card-footer p {
    margin: 4px 0 0;
    color: #666;
    font-size: 12px;
}

.login-card-footer:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,51,153,.20);
    border-color: #003399;
    text-decoration: none;
}

    .login-card-footer:hover h4 {
        color: #d32f2f;
    }

/* RESPONSIVE */

@media (max-width: 991px) {

    .left-panel {
        min-height: auto;
        padding: 25px;
    }

    .right-panel {
        min-height: auto;
        padding: 15px;
    }

    .portal-title {
        font-size: 24px;
    }

    .portal-subtitle {
        font-size: 14px;
    }

    .login-title {
        font-size: 22px;
    }

    .login-card {
        padding: 20px;
    }

    .feature h4 {
        font-size: 16px;
    }

    .help-title {
        font-size: 18px;
    }
}
