/* ================================================================
   TRANSMITTAL MODULE - LUXURY AURORA GLASS UI LOGIN STYLES
   Harmonized with Pertamina Enterprise Design Standards & SIPSIBOR Reference
   ================================================================ */

@import url('Inter/inter.css');

:root {
    --phe-primary: #1a4fa0;
    --phe-primary-hover: #153e7f;
    --phe-primary-light: #3c6db2;
    --phe-accent-cyan: #00b4d8;
    --phe-accent-teal: #00f5d4;
    --phe-accent-red: #ba313b;
    --phe-slate-900: #0f172a;
    --phe-slate-800: #1e293b;
    --phe-slate-700: #334155;
    --phe-slate-600: #475569;
    --phe-slate-500: #64748b;
    --phe-slate-400: #94a3b8;
    --phe-slate-200: #e2e8f0;
    --phe-slate-100: #f1f5f9;
    --phe-slate-50: #f8fafc;
    --phe-glass-bg: rgba(255, 255, 255, 0.84);
    --phe-glass-border: rgba(255, 255, 255, 0.92);
}

/* ====== RESET & BASE ====== */
*, *::before, *::after {
        box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.phe-login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--phe-slate-800);
    min-height: 100vh;
    background-color: #f1f5f9;
    background-image: 
        radial-gradient(at 15% 15%, rgba(60, 109, 178, 0.15) 0px, transparent 50%),
        radial-gradient(at 85% 20%, rgba(0, 180, 216, 0.12) 0px, transparent 50%),
        radial-gradient(at 50% 85%, rgba(186, 49, 59, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(60, 109, 178, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* ====== AMBIENT GLOW ORBS (Pure CSS Background Refraction) ====== */
.phe-ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.phe-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    will-change: transform;
    animation: orbFloat 18s ease-in-out infinite alternate;
}

.phe-orb-1 {
    top: -10%;
    left: -5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(26, 79, 160, 0.35) 0%, rgba(60, 109, 178, 0.1) 70%, transparent 100%);
    animation-duration: 20s;
}

.phe-orb-2 {
    bottom: -10%;
    right: -5%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.3) 0%, rgba(60, 109, 178, 0.1) 70%, transparent 100%);
    animation-duration: 24s;
    animation-delay: -5s;
}

.phe-orb-3 {
    top: 45%;
    left: 65%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(186, 49, 59, 0.18) 0%, rgba(250, 140, 22, 0.08) 70%, transparent 100%);
    animation-duration: 22s;
    animation-delay: -10s;
}

/* Subtle dot grid pattern */
.phe-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    background-image: radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.7;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, 30px) scale(1.08);
    }
    100% {
        transform: translate(-30px, -20px) scale(0.95);
    }
}

html, body.phe-login-body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

/* ====== MAIN LAYOUT WRAPPER ====== */
.phe-login-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.phe-login-main {
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
}

/* ====== LUXURY FROSTED GLASS LOGIN CARD ====== */
.phe-login-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    background: var(--phe-glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--phe-glass-border);
    border-radius: 16px;
    box-shadow: 
        0 20px 44px -12px rgba(15, 23, 42, 0.1),
        0 4px 14px -2px rgba(15, 23, 42, 0.04),
        inset 0 1px 1px rgba(255, 255, 255, 0.95);
    padding: 18px 24px 16px 24px;
    text-align: center;
        box-sizing: border-box;
    animation: glassCardEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phe-login-card:hover {
    box-shadow: 
        0 24px 50px -12px rgba(26, 79, 160, 0.12),
        0 6px 18px -2px rgba(15, 23, 42, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 1);
}

@keyframes glassCardEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ====== CARD HEADER & BRANDING ====== */
.phe-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.phe-login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.phe-login-logo:hover {
    transform: scale(1.02);
}

.phe-login-logo img {
    max-width: 135px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
}

/* Modern Glass System Capsule Badge */
.phe-system-capsule {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 50rem;
    padding: 3px 9px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.phe-pulse-dot {
    width: 5.5px;
    height: 5.5px;
    border-radius: 50%;
    background-color: #10b981; /* Live green */
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.25);
        opacity: 0.7;
    }
}

.phe-system-name {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--phe-primary);
}

.phe-card-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--phe-slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.phe-card-subtitle {
    font-size: 10.5px;
    color: var(--phe-slate-500);
    font-weight: 400;
    line-height: 1.45;
}

/* ====== FORM CONTROLS & GLASS INPUTS ====== */
.phe-login-form {
    margin: 0;
    text-align: left;
}

.phe-input-group {
    margin-bottom: 9px;
    text-align: left;
}

.phe-input-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--phe-slate-700);
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}

.phe-required-asterisk {
    color: var(--phe-accent-red);
    font-weight: bold;
}

.phe-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.phe-input-icon {
    position: absolute;
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--phe-slate-400);
    pointer-events: none;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease;
    z-index: 2;
}

.phe-input-icon svg {
    width: 13px;
    height: 13px;
}

.phe-input {
    width: 100%;
    height: 34px;
        box-sizing: border-box;
    padding: 5px 32px 5px 34px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--phe-slate-900);
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.phe-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.phe-input:hover {
    border-color: #94a3b8;
    background: #ffffff;
}

.phe-input:focus {
    background: #ffffff;
    border-color: var(--phe-primary);
    box-shadow: 
        0 0 0 3.5px rgba(26, 79, 160, 0.12),
        0 2px 6px rgba(15, 23, 42, 0.04);
}

.phe-input:disabled,
.phe-input[readonly] {
    background: rgba(241, 245, 249, 0.7) !important;
    cursor: not-allowed !important;
    font-weight: 600;
    color: #334155;
}

/* Active Icon Highlight on Focus */
.phe-input-wrapper:focus-within .phe-input-icon {
    color: var(--phe-primary);
    transform: scale(1.08);
}

/* Password Toggle Visibility Button */
.phe-password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--phe-slate-400);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    outline: none;
}

.phe-password-toggle:hover {
    color: var(--phe-slate-700);
    background-color: rgba(226, 232, 240, 0.6);
}

.phe-password-toggle:active {
    transform: translateY(-50%) scale(0.92);
}

.phe-password-toggle svg {
    width: 13px;
    height: 13px;
}

/* ====== VALIDATION & ERROR STATES ====== */
.phe-input.is-invalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    color: #991b1b;
}

.phe-input.is-invalid:focus {
    box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.14) !important;
}

.phe-input-group.has-error .phe-input-icon {
    color: #ef4444;
}

.phe-error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.4;
    animation: pheSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.phe-error-message svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Form-Level Alerts (Danger & Success) */
.phe-login-alert-danger,
.phe-login-alert-success {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 11.5px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    line-height: 1.45;
    animation: pheSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.phe-login-alert-danger svg,
.phe-login-alert-success svg {
    width: 15px;
    height: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}

.phe-login-alert-danger {
    background: rgba(254, 242, 242, 0.92);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #991b1b;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.05);
}

.phe-login-alert-danger svg {
    color: #ef4444;
}

.phe-login-alert-success {
    background: rgba(240, 253, 244, 0.94);
    border: 1px solid rgba(34, 197, 94, 0.32);
    color: #166534;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.08);
}

.phe-login-alert-success svg {
    color: #16a34a;
}

.phe-alert-text {
    flex: 1;
    font-size: 11.5px;
    line-height: 1.45;
}

.phe-alert-text .validation-summary-errors,
.phe-alert-text .validation-summary-errors ul,
.phe-alert-text ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.phe-alert-text .validation-summary-errors li,
.phe-alert-text li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: inline;
}

@keyframes pheSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== PRIMARY CTA BUTTON ====== */
.phe-login-button {
    position: relative;
    width: 100%;
    height: 34px;
    margin-top: 3px;
    padding: 0 18px;
    border: none;
    border-radius: 7px;
    background: linear-gradient(135deg, #1a4fa0 0%, #305a96 50%, #3c6db2 100%);
    color: #ffffff;
    font-family: inherit;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 
        0 4px 14px rgba(26, 79, 160, 0.28),
        0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
    user-select: none;
    overflow: hidden;
}

.phe-login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s ease;
}

.phe-login-button:hover::before {
    left: 100%;
}

.phe-login-button:hover {
    background: linear-gradient(135deg, #153e7f 0%, #1a4fa0 50%, #305a96 100%);
    box-shadow: 
        0 8px 22px rgba(26, 79, 160, 0.35),
        0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1.5px);
}

.phe-login-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(26, 79, 160, 0.25);
}

.phe-login-button:focus-visible {
    box-shadow: 
        0 0 0 3.5px rgba(60, 109, 178, 0.35),
        0 4px 14px rgba(26, 79, 160, 0.28);
}

.phe-login-button svg {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.phe-login-button:hover svg {
    transform: translateX(4px);
}

/* Disabled / Loading state on button */
.phe-login-button:disabled:not(.is-submitting) {
    background: #cbd5e1;
    color: #64748b;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.85;
    transform: none;
}

.phe-login-button:disabled::before {
    display: none;
}

.phe-login-button:disabled:hover,
.phe-login-button:disabled:active {
    transform: none;
    box-shadow: none;
}

.phe-login-button:disabled:not(.is-submitting):hover {
    background: #cbd5e1;
}

.phe-login-button:disabled:hover svg {
    transform: none;
}

.phe-login-button.is-submitting {
    pointer-events: none;
    opacity: 0.88;
    cursor: wait;
}

.phe-button-spinner {
    display: none;
}

.phe-button-spinner,
.phe-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: pheSpin 0.7s linear infinite;
    flex-shrink: 0;
}

.phe-spinner {
    display: inline-block;
}

.phe-login-button.is-submitting .phe-button-spinner {
    display: inline-block;
}

.phe-login-button.is-submitting .phe-button-text,
.phe-login-button.is-submitting .phe-button-arrow {
    display: none;
}

@keyframes pheSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ====== HELP DESK / FOOTER NOTE ====== */
.phe-login-help {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 10px;
    color: var(--phe-slate-500);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
}

.phe-login-help strong {
    color: var(--phe-slate-700);
    font-weight: 600;
}

.phe-nowrap {
    white-space: nowrap;
}

/* ====== DUO AUTHENTICATION GLASS MODAL ====== */
.modal-backdrop.show {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.phe-duo-modal-dialog {
    max-width: 340px;
    width: 92%;
    margin: 1.75rem auto;
}

.phe-duo-modal-content {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow:
        0 24px 50px -12px rgba(15, 23, 42, 0.25),
        0 4px 16px -2px rgba(15, 23, 42, 0.08);
    padding: 24px 24px 20px 24px;
    text-align: center;
}

.phe-duo-icon-box {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15) 0%, rgba(26, 79, 160, 0.12) 100%);
    color: var(--phe-primary);
}

.phe-duo-icon-box svg {
    width: 28px;
    height: 28px;
    z-index: 2;
}

.phe-duo-icon-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--phe-accent-cyan);
    opacity: 0.7;
    animation: duoRingPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes duoRingPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.phe-duo-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--phe-slate-900);
    margin-bottom: 6px;
}

.phe-duo-description {
    font-size: 11.5px;
    color: var(--phe-slate-600);
    line-height: 1.45;
    margin-bottom: 16px;
}

.phe-duo-spinner {
    width: 26px;
    height: 26px;
    margin: 0 auto 10px;
    border: 2.5px solid rgba(26, 79, 160, 0.18);
    border-top-color: var(--phe-primary);
    border-radius: 50%;
    animation: pheSpin 0.8s linear infinite;
}

.phe-duo-status {
    font-size: 11px;
    font-weight: 600;
    color: var(--phe-primary);
    letter-spacing: 0.02em;
}

/* ====== FLOATING GLASS FOOTER ====== */
.phe-login-footer {
    position: relative;
    z-index: 2;
    padding: 8px 16px;
    font-size: 10.5px;
    color: var(--phe-slate-500);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.02);
}

.phe-footer-copyright {
    font-weight: 500;
}

/* ====== RESPONSIVE BREAKPOINTS ====== */
@media (max-width: 520px) {
    .phe-login-card {
        padding: 22px 20px 18px 20px;
        border-radius: 16px;
        max-width: 92%;
    }

    .phe-login-logo img {
        max-width: 140px;
    }

    .phe-card-title {
        font-size: 17px;
    }

    .phe-login-footer {
        padding: 10px 16px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}


/* Fallback for ultra-low viewport height where scrolling is unavoidable */
@media screen and (max-height: 480px) {
    body.phe-login-body {
        overflow-y: auto !important;
    }

    .phe-login-wrapper {
        min-height: 100vh;
        box-sizing: border-box;
        height: auto;
    }
}

/* Utility to avoid inline styles */
.phe-hidden {
    display: none !important;
}


/* ==========================================================================
   TIER 1: AUTOMATIC 125% SCALE BOOST FOR 100% SCALE MONITORS (LOGIN PAGE & MODAL)
   Active when devicePixelRatio <= 1.05 (Standard 100% display scale).
   Scales login elements and modal by 1.25x seamlessly.
   ========================================================================== */
@media screen and (-webkit-max-device-pixel-ratio: 1.05), screen and (max-resolution: 1.05dppx) {
    .phe-login-wrapper,
    .phe-duo-modal-dialog {
        zoom: 1.25;
    }
    .phe-login-wrapper {
        min-height: calc(100vh / 1.25);
    }
}

html.scale-100-boost .phe-login-wrapper,
html.scale-100-boost .phe-duo-modal-dialog {
    zoom: 1.25;
}
html.scale-100-boost .phe-login-wrapper {
    min-height: calc(100vh / 1.25);
}

/* ==========================================================================
   TIER 2: 150% SCALE LAPTOPS (LOGIN PAGE & MODAL)
   Preserves 125% baseline visual scale without miniature shrink
   ========================================================================== */
@media screen and (-webkit-min-device-pixel-ratio: 1.35), screen and (min-resolution: 1.35dppx) {
    .phe-login-wrapper,
    .phe-duo-modal-dialog {
        zoom: 1.0;
    }
    .phe-login-wrapper {
        min-height: 100vh;
        width: 100%;
    }
}

html.scale-150-reduce .phe-login-wrapper,
html.scale-150-reduce .phe-duo-modal-dialog {
    zoom: 1.0;
}
html.scale-150-reduce .phe-login-wrapper {
    min-height: 100vh;
    width: 100%;
}

/* ==========================================================================
   ACCOUNT ACTIVATION / RESET PASSWORD CARD (WIDE 2-COLUMN SINGLE-PAGE LAYOUT)
   ========================================================================== */
.phe-activation-card {
    max-width: 920px;
    width: 100%;
    padding: 22px 28px 18px 28px;
    text-align: left;
}

.phe-activation-card .phe-card-header {
    margin-bottom: 12px;
    text-align: center;
}

.phe-activation-card .phe-login-logo {
    margin-bottom: 10px;
}

.phe-activation-card .phe-login-logo img {
    max-width: 130px;
}

.phe-activation-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 14px;
    background: rgba(239, 246, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 11px;
    color: #1e40af;
    line-height: 1.4;
    text-align: left;
}

.phe-activation-info svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #2563eb;
}

.phe-activation-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.phe-activation-col {
    display: flex;
    flex-direction: column;
}

/* Captcha styling inside column */
.phe-captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.phe-captcha-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 2px 6px;
    overflow: hidden;
}

.phe-captcha-img-box img {
    height: 28px;
    width: auto;
    display: block;
    cursor: pointer;
    user-select: none;
}

.phe-captcha-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    color: var(--phe-slate-600);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.phe-captcha-refresh-btn:hover {
    color: var(--phe-primary);
    border-color: var(--phe-primary);
    background: #ffffff;
    transform: rotate(45deg);
}

.phe-captcha-refresh-btn svg {
    width: 15px;
    height: 15px;
}

.phe-input-captcha {
    text-transform: uppercase;
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
}

/* Wide card footer actions */
.phe-activation-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.phe-activation-submit {
    max-width: 360px;
    width: 100%;
    margin-top: 0;
}

.phe-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--phe-slate-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.phe-back-link:hover {
    color: var(--phe-primary);
    text-decoration: underline;
}

.phe-back-link svg {
    width: 12px;
    height: 12px;
}

/* Responsive collapse on tablets and mobile */
@media (max-width: 768px) {
    .phe-activation-card {
        max-width: 100%;
        padding: 16px 14px;
    }
    .phe-activation-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .phe-activation-submit {
        max-width: 100%;
    }
}
