/* assets/css/auth.css - LOGIN PAGE STYLES */

.left-side {
    flex: 1.2;
    /* Jo image tune save ki thi wo yahan se automatically load hogi */
    background: url('/assets/images/backgrounds/login-bg.png') center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #1a237e;
    text-align: center;
    padding: 2rem;
    border-radius: 0 150px 150px 0;
    box-shadow: 10px 0 20px rgba(0,0,0,0.1);
    z-index: 10;
}

.left-side::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85); /* Text ko clearly dikhane ke liye light filter */
    border-radius: 0 150px 150px 0;
    z-index: -1;
}

.logo-placeholder {
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: 4px solid #1e5bdf;
    overflow: hidden;
}

.logo-placeholder img {
    max-width: 80%;
    height: auto;
}

.school-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d276b;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.2rem;
    color: #d32f2f;
    font-style: italic;
    font-weight: 500;
}

.right-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: transparent;
}

.login-card {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    padding: 40px;
}

.welcome-text {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-text h2 {
    font-size: 2rem;
    color: #333;
}

.welcome-text h2 span {
    color: #1e5bdf;
}

.role-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.role-box {
    flex: 1;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    font-weight: 500;
}

.role-box i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
}

.role-box.active {
    border-color: #1e5bdf;
    color: #1e5bdf;
    background: #f0f5ff;
    box-shadow: 0 4px 10px rgba(30, 91, 223, 0.1);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #1e5bdf;
    box-shadow: 0 0 0 3px rgba(30,91,223,0.1);
}

.eye-icon {
    position: absolute;
    right: 15px;
    left: auto !important;
    cursor: pointer;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.options a {
    color: #1e5bdf;
    text-decoration: none;
}

.secure-text {
    text-align: center;
    margin-top: 25px;
    font-size: 0.85rem;
    color: #2e7d32;
}

/* ==========================================
   SMART DEVICE OPTIMIZATION FOR AUTH PAGE
========================================== */

body.device-mobile .nexus-auth-wrapper {
    flex-direction: column;
    overflow-y: auto; /* Mobile par scroll allow karna */
}

body.device-mobile .left-side {
    flex: none;
    border-radius: 0 0 40px 40px; /* Mobile par curve niche aayega */
    padding: 3rem 1rem;
}

body.device-mobile .right-side {
    padding: 1rem;
    align-items: flex-start;
}

body.device-mobile .login-card {
    padding: 25px;
}

body.device-board .login-card {
    max-width: 550px; /* Digital Board par card aur bada ho jayega */
    padding: 50px;
}

body.device-board .input-group input {
    padding: 20px 20px 20px 55px;
    font-size: 1.2rem;
}