/* Modern Login Form Styles */
#loginform {
    max-width: 400px;
    margin: 20px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#magic-login-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.login-error {
    background-color: #fff5f5;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #fed7d7;
}

.login-error .material-symbols-outlined {
    font-size: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.form-group input.input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background-color: #fcfcfc;
}

.form-group input.input:focus {
    border-color: #0073aa;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.1);
}

.input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.toggle-password:hover {
    background: #f0f0f0;
    color: #333;
}

.forgot-password {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #005a87;
    text-decoration: underline;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 10px;
}

.remember-me input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0073aa;
}

.remember-label {
    font-size: 15px;
    color: #444;
    cursor: pointer;
    user-select: none;
}

.info-icon {
    display: flex;
    align-items: center;
    color: #bbb;
    cursor: help;
}

.primary-btn {
    width: 100%;
    padding: 16px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
}

.primary-btn:hover {
    background: #005a87;
    box-shadow: 0 6px 16px rgba(0, 115, 170, 0.3);
    transform: translateY(-1px);
}

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

.link-btn {
    width: 100%;
    background: none;
    border: none;
    color: #0073aa;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

.link-btn:hover {
    color: #005a87;
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #aaa;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider:not(:empty)::before {
    margin-right: 1.5em;
}

.divider:not(:empty)::after {
    margin-left: 1.5em;
}

.signup-prompt {
    font-size: 15px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.secondary-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #1a1a1a;
    color: white;
}