/* External login button styles */
.external-login-section {
    margin-top: 24px;
}

.external-login-section .divider-text {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.external-login-section .divider-text::before,
.external-login-section .divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e1e5e9;
}

.external-login-section .divider-text span {
    padding: 0 16px;
    font-size: 13px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.external-login-section .external-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.external-login-section .external-login-btn {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: #2c3e50;
    font-family: inherit;
}

.external-login-section .external-login-btn:hover {
    border-color: #83ad3c;
    background: #fafbfc;
    transform: translateY(-1px);
}

.external-login-section .external-login-google { border-left: 4px solid #4285F4; }
.external-login-section .external-login-microsoft { border-left: 4px solid #00A4EF; }
.external-login-section .external-login-github { border-left: 4px solid #333; }
.external-login-section .external-login-facebook { border-left: 4px solid #1877F2; }
.external-login-section .external-login-apple { border-left: 4px solid #000; }

/* Static account pages (#9377): forced password change. Brand values match Login.razor. */
.account-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

.account-card {
    width: 100%;
    padding: 48px 40px;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    background: white;
    box-sizing: border-box;
}

.account-header {
    text-align: center;
    margin-bottom: 32px;
}

.account-header img {
    max-width: 200px;
    height: auto;
    margin-bottom: 24px;
}

.account-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.account-subtitle {
    font-size: 15px;
    color: #7f8c8d;
    margin: 0;
}

.account-field {
    margin-bottom: 22px;
}

.account-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

.account-input {
    width: 100%;
    padding: 14px 48px 14px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    background: #fafbfc;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-input:focus {
    outline: none;
    border-color: #83ad3c;
    background: white;
    box-shadow: 0 0 0 3px rgba(131, 173, 60, 0.1);
}

.account-input::placeholder {
    color: #a0a6ab;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 4px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #7f8c8d;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: #2c3e50;
    background: rgba(44, 62, 80, 0.06);
    outline: none;
}

.password-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.password-requirements {
    margin: 4px 0 24px 0;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fafbfc;
    color: #5d6d7e;
    font-size: 13px;
}

.password-requirements-title {
    margin: 0 0 6px 0;
    font-weight: 600;
    color: #2c3e50;
}

.password-requirements ul {
    margin: 0;
    padding-left: 18px;
}

.account-button {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: #83ad3c;
    color: white;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.account-button:hover {
    background: #72993a;
}

.account-signout {
    margin-top: 20px;
    text-align: center;
}

.account-link-button {
    border: none;
    background: none;
    padding: 0;
    color: #7f8c8d;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
}

.account-link-button:hover {
    color: #2c3e50;
}

.account-card .text-danger {
    color: #c0392b;
    font-size: 13px;
    margin-top: 4px;
}

.account-card .validation-summary-errors ul {
    margin: 0 0 16px 0;
    padding-left: 18px;
}

.account-card .alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.account-card .alert-danger {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6c2;
}

.account-card .alert-success {
    background: #eef6e4;
    color: #4c6b1f;
    border: 1px solid #cfe3b5;
}
