:root {
    --lb-green: #008641;
    --lb-orange: #f59120;
    --lb-grey: #b1b3b4;
    --lb-black: #231f20;
    --lb-white: #f2f6eb;

    /* iOS-style transparency tokens */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.4);
    --input-bg: rgba(255, 255, 255, 0.15);
    --shadow-depth: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    background: var(--lb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-bottom: 180px;
    /* Space for reflection */
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 2.5rem 2rem;

    /* iOS-style glass morphism */
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;

    /* Subtle shadow */
    box-shadow: var(--shadow-depth);

    text-align: center;

    /* Bottom reflection only - visible enough to see button */
    -webkit-box-reflect: below 12px linear-gradient(transparent, transparent 60%, rgba(255, 255, 255, 0.2));

    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-container {
    margin-bottom: 2rem;
}

.logo-container img {
    max-width: 180px;
    height: auto;
    opacity: 0.95;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lb-green);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.accent-line {
    width: 32px;
    height: 3px;
    background: var(--lb-orange);
    margin: 0.8rem auto 1.5rem auto;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--lb-black);
    opacity: 0.7;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--input-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    color: var(--lb-black);
}

.form-control::placeholder {
    color: rgba(35, 31, 32, 0.4);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--lb-green);
    box-shadow: 0 0 0 3px rgba(0, 134, 65, 0.08);
}

.btn-login {
    width: 100%;
    padding: 0.9rem;
    background: var(--lb-green);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 134, 65, 0.25);
}

.btn-login:hover {
    background: #006b34;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 134, 65, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.footer-links {
    margin-top: 1.5rem;
    font-size: 0.8rem;
}

.footer-links a {
    color: var(--lb-orange);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}