﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {

    width: 100%;
    height: 100%;

    overflow: hidden;

    font-family: 'Segoe UI', sans-serif;
}

/* BACKGROUND */

body {

/*    background: url('../images/bg.png');*/

    background-size: 100% 100%;

    background-position: center;

    background-repeat: no-repeat;
}

/* MAIN CONTAINER */

.login-container {

    width: 100%;

    height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(255,255,255,0.05);
}

/* LOGIN BOX */

.login-box {

    width: 500px;

    padding: 45px;

    margin-top: -60px;

    border-radius: 20px;

    background: rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    box-shadow: 0 0 25px rgba(0,0,0,0.2);
}

/* TITLE */

.login-box h2 {

    text-align: center;

    color: #003b8e;

    text-shadow: 0 2px 8px rgba(255,255,255,0.8);

    margin-bottom: 30px;

    font-size: 35px;

    font-weight: bold;
}

/* INPUT */

.form-control {

    width: 100%;

    padding: 14px;

    margin-bottom: 18px;

    border: none;

    outline: none;

    border-radius: 12px;

    font-size: 16px;
}

/* CAPTCHA SECTION */
.captcha-section {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 18px;
    background: white;
}

/* CAPTCHA IMAGE */
.captcha-img {
    width: calc(100% - 70px);
    height: 55px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: white;
}

/* REFRESH BUTTON */

.refresh-btn {

    width: 70px;

    height: 55px;

    border: none;

    background: #005bea;

    color: white;

    font-size: 28px;

    cursor: pointer;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 0;
}

.refresh-btn:hover {

    background: #003b8e;
}



/* LOGIN BUTTON */

.login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient( 45deg, #005bea, #00c6fb );
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

    .login-btn:hover {
        background: linear-gradient( 45deg, #0047c2, #00a2d6 );
    }

/* ERROR */
.error-box {
    color: #dc3545;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}



/* =========================================================
Login Page - Externalized Inline Styles
========================================================= */

body {
    margin: 0;
    min-height: 100vh;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-section {
    text-align: center;
    margin-bottom: 25px;
}

.cbse-logo {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.login-title {
    color: #003b8e;
    font-size: 29px;
    font-weight: 750;
    margin: 10px 0;
}

.login-subtitle {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
