/* Hide WordPress admin bar */
#wpadminbar {
    display: none !important;
}

html {
    margin-top: 0 !important;
}

/* Hide page title on login page */
body.arch-sso-login-page h1.entry-title,
body.arch-sso-login-page h1.page-title,
body.arch-sso-login-page .page-title,
body.arch-sso-login-page .entry-title {
    display: none !important;
}

body.arch-sso-login-page {
    min-height: 100vh;
    margin: 0;
    background-image: url('../images/login-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.arch-sso-login-wrapper {
    max-width: 420px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.arch-sso-login-wrapper h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
}

.arch-sso-login-wrapper .arch-sso-subtitle {
    margin: 0 0 28px;
    font-size: 14px;
    text-align: center;
    color: #666;
}

.arch-sso-field {
    margin-bottom: 20px;
}

.arch-sso-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.arch-sso-field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.arch-sso-field input[type="email"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.arch-sso-submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #0073aa;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.arch-sso-submit-btn:hover {
    background: #005a87;
}

.arch-sso-submit-btn:disabled {
    background: #93c4d8;
    cursor: not-allowed;
}

#arch-sso-spinner {
    display: none;
    text-align: center;
    margin-top: 16px;
}

#arch-sso-spinner::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #d0d0d0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: arch-sso-spin 0.7s linear infinite;
}

@keyframes arch-sso-spin {
    to { transform: rotate(360deg); }
}

#arch-sso-message {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

#arch-sso-message.arch-sso-success {
    background: #edf7ed;
    color: #1e6e1e;
    border: 1px solid #c3e6c3;
}

#arch-sso-message.arch-sso-error {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
}
