﻿/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */

/* Main container - takes full viewport with no margins/padding */
.login-container {
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrolling */
}

/* Grid layout for two columns - full height */
.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100%;
}

/* Left Column - Product Information */
.product-info-column {
    background: linear-gradient(135deg, #0B2A4A 0%, #1A3F5F 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px; /* Reduced from 40px (90%) */
    position: relative;
    overflow-y: auto; /* Allow scrolling if content overflows */
    height: 100vh;
}

    /* Decorative pattern overlay */
    .product-info-column::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 30%);
        pointer-events: none;
    }

.product-content {
    max-width: 450px; /* Reduced from 500px (90%) */
    width: 100%;
    position: relative;
    z-index: 2;
}

.product-header {
    margin-bottom: 27px; /* Reduced from 30px (90%) */
}

.product-title {
    font-size: 2.25rem; /* Reduced from 2.5rem (90%) */
    font-weight: 400;
    margin-bottom: 9px; /* Reduced from 10px (90%) */
    color: white;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 0.99rem; /* Reduced from 1.1rem (90%) */
    opacity: 0.9;
    color: rgba(255,255,255,0.8);
}

/* Feature items */
.product-features {
    margin-bottom: 27px; /* Reduced from 30px (90%) */
}

.feature-item {
    display: flex;
    gap: 18px; /* Reduced from 20px (90%) */
    margin-bottom: 22.5px; /* Reduced from 25px (90%) */
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 43px; /* Reduced from 48px (90%) */
    height: 43px; /* Reduced from 48px (90%) */
    background: rgba(255,255,255,0.15);
    border-radius: 11px; /* Reduced from 12px (approx 90%) */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1890ff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-text h3 {
    font-size: 1.08rem; /* Reduced from 1.2rem (90%) */
    font-weight: 600;
    margin-bottom: 4.5px; /* Reduced from 5px (90%) */
    color: white;
}

.feature-text p {
    font-size: 0.855rem; /* Reduced from 0.95rem (90%) */
    opacity: 0.8;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin: 0;
}

/* Testimonial section */
.product-testimonial {
    background: rgba(255,255,255,0.1);
    border-left: 3.6px solid #1890ff; /* Reduced from 4px (90%) */
    padding: 18px; /* Reduced from 20px (90%) */
    border-radius: 7px; /* Reduced from 8px (approx 90%) */
    margin-bottom: 22.5px; /* Reduced from 25px (90%) */
    backdrop-filter: blur(5px);
}

    .product-testimonial p {
        font-size: 0.9rem; /* Reduced from 1rem (90%) */
        font-style: italic;
        margin-bottom: 7.2px; /* Reduced from 8px (90%) */
        color: white;
        line-height: 1.6;
    }

.testimonial-author {
    font-size: 0.81rem; /* Reduced from 0.9rem (90%) */
    opacity: 0.7;
    color: rgba(255,255,255,0.8);
}

/* Download Section */
.download-section {
    margin-bottom: 22.5px; /* Reduced from 25px (90%) */
    padding: 13.5px; /* Reduced from 15px (90%) */
    background: rgba(255,255,255,0.05);
    border-radius: 10.8px; /* Reduced from 12px (90%) */
    border: 1px solid rgba(255,255,255,0.1);
}

.download-title {
    font-size: 0.99rem; /* Reduced from 1.1rem (90%) */
    font-weight: 600;
    margin-bottom: 13.5px; /* Reduced from 15px (90%) */
    color: white;
    text-align: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10.8px; /* Reduced from 12px (90%) */
    margin-bottom: 10.8px; /* Reduced from 12px (90%) */
}

.download-button {
    display: flex;
    align-items: center;
    gap: 13.5px; /* Reduced from 15px (90%) */
    padding: 10.8px 13.5px; /* Reduced from 12px 15px (90%) */
    border-radius: 9px; /* Reduced from 10px (90%) */
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    border: 1px solid rgba(255,255,255,0.2);
}

    .download-button:hover {
        transform: translateY(-2px);
        text-decoration: none;
    }

.offline-button {
    background: rgba(24, 144, 255, 0.2);
}

    .offline-button:hover {
        background: rgba(24, 144, 255, 0.3);
    }

.playstore-button {
    background: rgba(52, 199, 89, 0.2);
}

    .playstore-button:hover {
        background: rgba(52, 199, 89, 0.3);
    }

.download-icon {
    width: 36px; /* Reduced from 40px (90%) */
    height: 36px; /* Reduced from 40px (90%) */
    background: rgba(255,255,255,0.2);
    border-radius: 7.2px; /* Reduced from 8px (90%) */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; /* Reduced from 20px (90%) */
    color: white;
}

.download-info {
    display: flex;
    flex-direction: column;
}

.download-label {
    font-size: 0.81rem; /* Reduced from 0.9rem (90%) */
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.download-description {
    font-size: 0.72rem; /* Reduced from 0.8rem (90%) */
    opacity: 0.7;
    color: rgba(255,255,255,0.9);
}

.download-note {
    font-size: 0.72rem; /* Reduced from 0.8rem (90%) */
    opacity: 0.7;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    padding-top: 7.2px; /* Reduced from 8px (90%) */
    border-top: 1px solid rgba(255,255,255,0.1);
}

.product-footer {
    text-align: center;
    font-size: 0.81rem; /* Reduced from 0.9rem (90%) */
    opacity: 0.6;
    color: rgba(255,255,255,0.7);
    padding-top: 9px; /* Reduced from 10px (90%) */
}

/* Right Column - Login Form */
.login-form-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px; /* Reduced from 40px (90%) */
    background-color: white;
    height: 100vh;
    overflow-y: auto; /* Allow scrolling if form overflows */
}

.login-form-container {
    max-width: 360px; /* Reduced from 400px (90%) */
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 27px; /* Reduced from 30px (90%) */
}

    .login-header h2 {
        font-size: 1.8rem; /* Reduced from 2rem (90%) */
        font-weight: 600;
        color: #0B2A4A;
        margin-bottom: 4.5px; /* Reduced from 5px (90%) */
    }

    .login-header p {
        color: #666;
        font-size: 0.9rem; /* Reduced from 1rem (90%) */
    }

/* Form styling */
::deep .input-label {
    font-size: 0.81rem; /* Reduced from 0.9rem (90%) */
    font-weight: 500;
    color: #333;
    margin-bottom: 5.4px; /* Reduced from 6px (90%) */
}

::deep .login-button {
    height: 43px; /* Reduced from 48px (approx 90%) */
    font-size: 0.9rem; /* Reduced from 1rem (90%) */
    font-weight: 500;
    background: #0B2A4A;
    border: none;
    margin-top: 7.2px; /* Reduced from 8px (90%) */
}

    ::deep .login-button:hover {
        background: #1A3F5F;
    }

/* Login links */
.login-links {
    display: flex;
    justify-content: space-between;
    margin: 18px 0; /* Reduced from 20px 0 (90%) */
}

.register-link, .forgot-link {
    color: #0B2A4A;
    font-size: 0.81rem; /* Reduced from 0.9rem (90%) */
    text-decoration: none;
}

    .register-link:hover, .forgot-link:hover {
        color: #1890ff;
        text-decoration: underline;
    }

.student-login {
    text-align: center;
    margin: 13.5px 0; /* Reduced from 15px 0 (90%) */
    padding: 9px 0; /* Reduced from 10px 0 (90%) */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

    .student-login a {
        color: #0B2A4A;
        font-size: 0.855rem; /* Reduced from 0.95rem (90%) */
        font-weight: 500;
        text-decoration: none;
    }

        .student-login a:hover {
            color: #1890ff;
        }

/* Responsive Design */
@media screen and (max-width: 768px) {
    .login-grid {
        grid-template-columns: 1fr;
    }

    .product-info-column {
        display: none; /* Hide left column on mobile */
    }

    .login-form-column {
        padding: 18px; /* Reduced from 20px (90%) */
        height: 100vh;
    }

    .login-form-container {
        max-width: 100%;
    }

    .login-header h2 {
        font-size: 1.62rem; /* Reduced from 1.8rem (90%) */
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .login-form-column {
        padding: 13.5px; /* Reduced from 15px (90%) */
    }

    .login-header {
        margin-bottom: 22.5px; /* Reduced from 25px (90%) */
    }

        .login-header h2 {
            font-size: 1.35rem; /* Reduced from 1.5rem (90%) */
        }

    .login-links {
        flex-direction: column;
        gap: 9px; /* Reduced from 10px (90%) */
        align-items: center;
    }
}

/* For very tall screens, ensure content is properly centered */
@media screen and (min-height: 900px) {
    .product-content {
        transform: translateY(0);
    }
}

/* Animation for features on larger screens */
@media screen and (min-width: 1024px) {
    .feature-item {
        transition: transform 0.3s ease;
    }

        .feature-item:hover {
            transform: translateX(10px);
        }

    .download-button {
        transition: transform 0.3s ease, background 0.3s;
    }
}
