﻿/* 
   login.css – only loaded on the Login page via the component's own <link>.
   These rules give IdentityHub a unique, full‑screen look that is
   visually balanced with the other apps.
*/
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.login-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

.login-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.login-shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.login-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.login-shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 10%;
    opacity: 0.5;
}

.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 550px; /* wider card (was 500px) */
}

.login-brand {
    text-align: center;
    margin-bottom: 2.8rem;
    color: white;
}

.login-brand-icon {
    width: 145px; /* bigger logo */
    height: auto;
    margin: 0 auto 1.6rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .login-brand-icon img {
        width: 145px;
        height: auto;
        object-fit: contain;
        display: block;
        border-radius: 50%;
        box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    }

.login-brand h1 {
    font-size: 2.5rem; /* larger title (was 2.25rem) */
    font-weight: 700;
    margin: 0 0 0.3rem;
    letter-spacing: -0.5px;
}

.login-brand span {
    font-size: 1.2rem; /* larger subtitle (was 1.1rem) */
    opacity: 0.85;
}

.login-card {
    background: white;
    border-radius: 26px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.login-header {
    padding: 2.8rem 2.8rem 1.6rem;
    text-align: center;
}

    .login-header h2 {
        font-size: 1.9rem; /* larger heading (was 1.75rem) */
        font-weight: 600;
        margin: 0 0 0.8rem;
        color: #1a1a2e;
    }

    .login-header p {
        color: #6b7280;
        margin: 0;
        font-size: 1.1rem; /* larger description (was 1rem) */
    }

.login-body {
    padding: 0 2.8rem 2.8rem;
}

    .login-body .form-floating > .form-control {
        border: 2px solid #e5e7eb;
        border-radius: 13px;
        height: 64px; /* taller inputs */
        font-size: 1.05rem;
    }

        .login-body .form-floating > .form-control:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        }

    .login-body .form-floating > label {
        padding: 1.1rem 0.8rem;
        color: #6b7280;
        font-size: 1rem;
    }

    .login-body .form-check {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
    }

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    padding: 18px;
    font-weight: 600;
    font-size: 1.2rem; /* bigger button text */
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.5);
    transition: all 0.2s;
    color: white;
    width: 100%;
    letter-spacing: 0.3px;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(102, 126, 234, 0.6);
    }

.login-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}
