.sso-section {
    margin-bottom: 28px;
}

.btn-microsoft {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #0f1729;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-microsoft:hover {
    background: #f8fafc;
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.microsoft-icon {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider-text {
    font-size: 0.8125rem;
    color: #9ca3af;
    font-weight: 500;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #0f1729;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    color: #0f1729;
    background: #ffffff;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--dc-blue);
    box-shadow: 0 0 0 3px rgba(25, 62, 130, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Override Django form rendering */
.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    color: #0f1729;
    background: #ffffff;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--dc-blue);
    box-shadow: 0 0 0 3px rgba(25, 62, 130, 0.1);
}

.login-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #0f1729;
    margin-bottom: 8px;
    margin-top: 16px;
}

.login-form label:first-of-type {
    margin-top: 0;
}

.login-form .helptext,
.login-form .help-block {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 4px;
}

.login-form .errorlist {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.login-form .errorlist li {
    font-size: 0.8125rem;
    color: #dc2626;
}

.btn-login {
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    background: #0f1729;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}

.btn-login:hover {
    background: #1a2744;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 41, 0.2);
}

.signup-prompt {
    text-align: center;
    margin-top: 28px;
    font-size: 0.9375rem;
    color: #4b5563;
}

.signup-link {
    color: var(--dc-blue);
    text-decoration: none;
    font-weight: 500;
}

.signup-link:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-danger,
.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.btn-close {
    float: right;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
    line-height: 1;
}

.btn-close:hover {
    opacity: 1;
}
