﻿/* Login page header styling */
.login-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* OSAAP BlueID logo styling */
.blueid-login-logo {
    flex-shrink: 0;
}

/* Login page title styling */
.login-header h1 {
    color: #1565c0;
    font-weight: 600;
    margin-bottom: 0;
}

/* Login page layout */
.login-page {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px 15px;
}
.login-logo-container {
    text-align: center;
    margin-bottom: 30px;
}
.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px;
    border: 1px solid #e9ecef;
}
.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    text-align: center;
}
.login-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 24px;
    text-align: center;
}
.login-page .form-floating {
    margin-bottom: 16px;
}
.login-page .form-floating .form-control {
    height: 56px;
    padding: 16px 12px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.login-page .form-floating .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}
.login-page .form-floating label {
    padding: 16px 12px;
}
.btn-login {
    height: 48px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.875rem;
}
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #6c757d;
    font-size: 0.8rem;
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}
.divider span {
    padding: 0 12px;
}
.btn-external {
    height: 44px;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 10px;
}
.register-prompt {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
    font-size: 0.9rem;
}
.register-prompt a {
    font-weight: 600;
}

/* 2FA method selection pills */
#twoFactorTabs {
    gap: 6px;
}
#twoFactorTabs .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    white-space: nowrap;
}
#twoFactorTabs .nav-link.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
#twoFactorTabs .nav-link:not(.active):hover {
    background-color: #f8f9fa;
}

/* Responsive header for small screens */
@media (max-width: 480px) {
    .login-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }

    .blueid-login-logo img {
        width: 60px;
        height: 60px;
    }
}
