* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f5f6fa;
    min-height: 100vh;
}

.login-page-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 64px);
    /* Subtract header height */
    padding: 20px 0;
}

.login-container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    padding: 0;
    overflow: hidden;
}

.login-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #121214;
    padding: 35px 35px 25px 35px;
    margin-bottom: 0;
}

#loginForm {
    padding: 0 35px 35px 35px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid transparent;
    background-color: #eaf0f6;
    /* Blueish light grey from screenshot */
    border-radius: 8px;
    font-size: 0.95rem;
    color: #121214;
    outline: none;
    transition: background-color 0.2s, border 0.2s;
}

.input-group input:focus {
    background-color: #ffffff;
    border: 1px solid #f7a600;
}

.input-group input::placeholder {
    color: #8f95a0;
    font-weight: 400;
}

.password-group .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8f95a0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #f7a600;
    /* Always solid orange as shown in photo */
    color: #121214;
    border: none;
    border-radius: 24px;
    /* Pill shape */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner Animation */
.spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.spinner .path {
    stroke: #121214;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.card-footer {
    border-top: 1px solid #f0f1f3;
    padding: 24px 35px;
    text-align: center;
    font-size: 0.95rem;
    color: #121214;
    font-weight: 500;
    background-color: #ffffff;
}

.card-footer a {
    color: #f7a600;
    text-decoration: none;
    font-weight: 600;
}