/* accounts/static/accounts/css/login.css */

.login-container {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Updated to a cleaner, more professional background */
    background: #f8f9fa;
    background-image: radial-gradient(#1a73e8 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.login-card {
    background: white;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    text-align: center;
    border: 1px solid #eee;
}

.login-card h2 {
    color: #202124;
    margin-bottom: 8px;
    font-size: 1.75rem;
    font-weight: 700;
}

.login-subtitle {
    color: #5f6368;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 22px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #3c4043;
    font-weight: 600;
    font-size: 0.85rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    color: #5f6368;
    font-size: 1rem;
    pointer-events: none;
}

.login-card input {
    width: 100%;
    padding: 12px 12px 12px 48px; /* Room for icon */
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.login-card input:focus {
    outline: none;
    border-color: #1a73e8; /* Your Brand Color */
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #1a73e8; /* Your Brand Color */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    margin-top: 15px;
}

.btn-submit:hover {
    background-color: #1557b0;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.btn-submit:active {
    transform: scale(0.98);
}

.field-error {
    color: #d93025;
    font-size: 0.8rem;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}