/* =========================
   RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Segoe UI", Roboto, sans-serif;
    background: #081c2b;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   PAGE LAYOUT
========================= */
.page {
    flex: 1;
    display: flex;
    min-width: 0;
}

/* =========================
   PANELS
========================= */
.panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-width: 0;
}

/* 65 / 35 split */
.panel-left {
    flex: 0 0 65%;
}

.panel-right {
    flex: 0 0 35%;
}

/* =========================
   LEFT PANEL (IMAGE + SMOOTH DARK FADE)
========================= */
.panel-left {
    position: relative;
    overflow: hidden;
}

/* Background image with blur */
.panel-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/indexbg_2.jpeg") center / cover no-repeat;
    filter: blur(3px);
    transform: scale(1.05); /* prevents blur edge cut */
    z-index: 0;
}

/* SINGLE-TONE DARK BLUE GRADIENT */
.panel-left::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(8, 28, 43, 0.075) 0%,
        rgba(8, 28, 43, 0.377) 30%,
        rgba(8, 28, 43, 0.61) 55%,
        rgba(8, 28, 43, 0.9) 75%,
        rgba(8, 28, 43, 1) 100%
    );

    z-index: 1;
}

/* CONTENT */
.system-info {
    position: relative;
    max-width: 680px;
    margin-right: 100px;
    color: #ffffff;
    z-index: 2;
}

/* =========================
   RIGHT PANEL (CONTINUOUS DARK TONE)
========================= */
.panel-right {
    background: #081c2b;
}

/* =========================
   TEXT / BRANDING
========================= */
.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;          /* white background */
    padding: 2.5px 4px;           /* spacing around logo */
             /* soft rounded corners */

    box-shadow: 0 6px 18px rgba(0,0,0,0.25); /* subtle depth */
    margin-bottom: 20px;
}

.brand-logo img {
    height: 80px;   /* adjust as needed */
    width: auto;
    display: block;
}
.brand {
    margin-bottom: 28px;
}

.brand .badge {
    display: inline-block;
    background: #fbdc94;
    color: #081c2b;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.brand h1 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 50px;
    color: rgb(255, 255, 255);
}

.subtitle {
    font-size: 22px;
    font-weight: 700;
    color: #fbdc94;
}

.description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgb(255, 255, 255);
}

.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 100px;
    color: #e0e7ff;
    gap: 30px;
}

.technical-support, .academic-support {
    font-size: 16px;
    line-height: 2;
    padding: 11px;
    border-radius: 10px;
    background-color: #fffaf0;
    color: #081c2b;
    box-shadow: 4px 4px 2.5px #fffaf07e;
}

.technical-support label,
.academic-support label {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #081c2b;
    letter-spacing: 0.4px;
    padding-bottom: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.technical-support label::after,
.academic-support label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    border-radius: 50px;
    background: linear-gradient(90deg, #22c55e 0%, #3b82f6 100%);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.25);
}

.technical-support label::before,
.academic-support label::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: rgba(8, 28, 43, 0.12);
}
/* =========================
   DATE TIME
========================= */
.datetime {
    display: flex;
    border-top: 3px solid #fbdc94;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    justify-content: space-between;
    font-size: 18px;
    color: #fbdc94;
    font-weight: 600;
    padding: 14px 12px;
}

/* =========================
   LOGIN CARD
========================= */
.login-card {
    width: 390px;
    background: #fffaf0;
    
    backdrop-filter: blur(8px);
    padding: 46px 36px;
    border-radius: 10px;
    box-shadow: 4px 4px 2.5px #fffaf07e;
   
}

/* TITLE */
.login-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 35px;
    color: #081c2b;
    font-weight: 700;
}

/* =========================
   INPUTS
========================= */
.input-group {
    margin-bottom: 30px;
}

.input-group.floating {
    position: relative;
    margin-top: 24px;
}

.input-group.floating input {
    width: 100%;
    padding: 14px 4px;
    border: none;
    font-weight: 600;
    background: transparent;
    color: #081c2b;
    font-size: 14px;
    border-radius: 10px;

    border-bottom: 1px solid #081c2b;
    border-right: 1px solid #081c2b;
    border-left: 1px solid #081c2b;
    border-top: 1px solid #081c2b;
    box-shadow: inset 2.3px 2.3px 3.5px  rgba(8, 28, 43, 0.397);
    
}

/* Focus */
.input-group.floating input:focus {
    outline: none;

    border-bottom: 1px solid #081c2b;
    border-right: 1px solid #081c2b;
    border-left: 2px solid #081c2b;
    border-top: 2px solid #081c2b;
    box-shadow: inset 3px 3px 6.5px  rgba(8, 28, 43, 0.397);    
}

/* Label */
.input-group.floating label {
    position: absolute;
    left: 4px;
    top: 50%;
    font-weight: 600;
    margin-left: 4px;
    transform: translateY(-50%);
    font-size: 15px;
    color: #081c2b;
    transition: all 0.25s ease;
}

.input-group.floating input:focus + label,
.input-group.floating input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    font-weight: 600;
    color: #081c2b;
}

/* PASSWORD ICON */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #081c2b;
    cursor: pointer;
}


/* =========================
   FORGOT PASSWORD LINK
========================= */

.forgot-link {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.forgot-link a {
    position: relative;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;

    color: #2563eb;
    text-decoration: none;

    padding: 4px 2px;
    transition: all 0.3s ease;
}

/* Underline animation */
.forgot-link a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0%;
    height: 1.5px;

    background: #bf0a0a;
    border-radius: 10px;

    transition: width 0.3s ease;
}

/* Hover */
.forgot-link a:hover {
    color: #bf0a0a;
    transform: translateY(-1px);
}

.forgot-link a:hover::after {
    width: 100%;
}

/* Active click effect */
.forgot-link a:active {
    transform: scale(0.98);
}

/* =========================
   BUTTONS
========================= */
.login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #081c2b; 
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 2.5px 2.5px 4.6px rgba(8, 28, 43, 0.445);
}

.login-btn:hover {
    
    background: linear-gradient(135deg, #fff, #081c2b);
    border: 2.5px solid #081c2b; 
    padding: 10px;
    color: #fbdc94;
    font-weight: 800;
    box-shadow: 3px 3px 6.5px rgba(8, 28, 43, 0.445);
}

.btn-holder {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}



.disabled-btn{
    opacity:0.6;
    cursor:not-allowed;
    background:#777 !important;
}
.disabled-btn:hover{
    background:#777 !important;
    
    color:#fff !important;
    font-weight: 600!important;

}

.phase-msg{
    margin-top: 12px;
    padding: 10px 14px;

    color: #d93025;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;

    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.25);
    border-left: 4px solid #ff4d4d;

    border-radius: 8px;

    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.08);

    backdrop-filter: blur(4px);

    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn{
    from{
        opacity: 0;
        transform: translateY(4px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   AUTOFILL TRANSPARENT 
========================= */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {

    -webkit-text-fill-color: #081c2b !important;

    transition: background-color 9999s ease-in-out 0s;

    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    box-shadow: 0 0 0px 1000px transparent inset !important;

    background-color: transparent !important;

    caret-color: #081c2b;
}

/* DARK MODE SUPPORT */


/* :root {
    color-scheme: dark;
} */