:root {
    --brand-dark: #1a2332;
    --brand-yellow: #fecf07;
    --brand-blue: #2563eb;
    --brand-blue-dark: #050C39;
    --brand-blue-light: #3b82f6;
}

*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background-color: white;
}

.container {
    display: flex;
    min-height: 100vh;
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.portal-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.portal-badge i {
    font-size: 24px;
}

.portal-badge .site-logo {
    height: 60px;
    width: auto;
}

.portal-badge .badge-text {
    display: flex;
    flex-direction: column;
}

.portal-badge .college-name {
    font-weight: 600;
    font-size: 18px;
}

.portal-badge .portal-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-title .highlight {
    color: var(--brand-yellow);
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
}

.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Right Panel - Form Section */
.form-panel {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-container {
    width: 100%;
    max-width: 450px;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 10px;
}

.form-header p {
    font-size: 15px;
    color: #6b7280;
}

/* Messages */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.message.info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.password-toggle:hover {
    color: var(--brand-blue);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--brand-blue);
}

.checkbox-wrapper label {
    font-size: 14px;
    color: var(--brand-dark);
    margin: 0;
    cursor: pointer;
}

.forgot-link {
    font-size: 14px;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #6b7280;
}

.form-footer a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        flex-direction: column;
    }

    .hero-panel {
        padding: 40px 30px;
        min-height: 400px;
    }

    .hero-title {
        font-size: 36px;
    }

    .stats-container {
        gap: 30px;
    }

    .form-panel {
        padding: 30px 20px;
    }
}

@media (max-width: 640px) {
    .hero-panel {
        padding: 30px 20px;
        min-height: 300px;
    }

    .hero-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stats-container {
        gap: 20px;
    }
}
