/* Custom Login Page — dark theme, mirrors ProFocus palette */
body.login {
    background: #0b0e12;
    background-image:
        radial-gradient(1200px 600px at 80% -10%, rgba(0, 242, 255, 0.08), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(0, 242, 255, 0.05), transparent 60%);
}

body.login #login h1 a {
    background-image: url('../images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 82px;
}

body.login form {
    background: rgba(17, 20, 23, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 26px 30px 20px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

body.login form label {
    color: #c4c7c7;
}

body.login input[type="text"],
body.login input[type="password"] {
    background: #191c20;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e2e2;
    border-radius: 4px;
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
    border-color: #00f2ff;
    box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.35);
}

body.login input::placeholder {
    color: #939393;
}

/* Primary button → teal accent with dark text */
body.login .wp-core-ui .button-primary {
    background: #00f2ff;
    border-color: #00f2ff;
    color: #00363d;
    text-shadow: none;
    box-shadow: none;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
}

body.login .wp-core-ui .button-primary:hover,
body.login .wp-core-ui .button-primary:focus {
    background: #68ebcf;
    border-color: #68ebcf;
    color: #00363d;
}

/* Remember me */
body.login .forgetmenot label {
    color: #c4c7c7;
}

body.login .login .message,
body.login .login .notice,
body.login .login #login_error {
    background: #191c20;
    border-left-color: #00f2ff;
    color: #e2e2e2;
    box-shadow: none;
}

body.login .login #login_error {
    border-left-color: #f26d6d;
}

/* Nav links under the form */
body.login #nav,
body.login #backtoblog {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 14px;
    box-shadow: none;
}

body.login #nav a,
body.login #backtoblog a {
    color: #c4c7c7 !important;
    transition: color 0.25s ease;
}

body.login #nav a:hover,
body.login #backtoblog a:hover {
    color: #00f2ff !important;
}

body.login .privacy-policy-page-link a {
    color: #c4c7c7 !important;
}

/* ==========================================================================
   Front-end Ultimate Member auth forms (/login/ and /account/ pages).
   Mirrors the site's dark glass panels + teal accent (#00f2ff).
   ========================================================================== */

/* Card matching the dark glass panels used across the site */
.um.um-login .um-form,
.um.um-account .um-form,
.um.um-register .um-form {
    background: rgba(17, 20, 23, 0.92);
    border: 1px solid var(--pf-border);
    border-radius: 8px;
    padding: 30px 28px 26px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

/* Form labels */
.um .um-field-label {
    margin-bottom: 6px;
}
.um .um-field-label label {
    color: var(--pf-text-muted);
    font-weight: 600;
    font-size: 14px;
}

/* Text / password inputs */
.um .um-form-field {
    background: var(--pf-surface-2) !important;
    border: 1px solid var(--pf-border) !important;
    border-radius: 4px;
    color: var(--pf-text) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.um .um-form-field:focus {
    border-color: var(--pf-accent) !important;
    box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.35);
    outline: none;
}
.um .um-form-field::placeholder {
    color: var(--pf-text-dim);
}

/* Password visibility toggle */
.um .um-toggle-password {
    color: var(--pf-text-dim);
    transition: color 0.25s ease;
}
.um .um-toggle-password:hover {
    color: var(--pf-accent);
}

/* Primary button -> teal accent with dark text (matches site CTAs) */
.um .um-button {
    background: var(--pf-accent) !important;
    color: #00363d !important;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    text-shadow: none;
    width: 100%;
    padding: 13px 20px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}
.um .um-button:hover,
.um .um-button:focus {
    background: #68ebcf !important;
    color: #00363d !important;
    transform: translateY(-1px);
}

/* Error / validation messages */
.um .um-field-error {
    color: #f26d6d;
    background: rgba(242, 109, 109, 0.08);
    padding: 6px 10px;
    border-radius: 4px;
}
.um .um-field-arrow {
    display: none;
}

/* Layout inside the card */
.um .um-col-alt {
    text-align: center;
}

/* Honeypot (um_request) — always hidden on the visible form */
.um .um_request_name,
.um-form .um_request_name {
    display: none !important;
    opacity: 0 !important;
    height: 1px;
    overflow: hidden;
}