/* =============================================================================
   /register — Mobile v2 registration page
   Adapted from 8bitedge.com desktop /register — single-column mobile layout.
   ========================================================================== */

.register-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 16px 0;
}

/* ── Card ─────────────────────────────────────────────────────────────────── */
.register-card {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

/* ── Status bar ───────────────────────────────────────────────────────────── */
.register-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    background: rgba(0, 217, 255, 0.05);
    font-family: 'Electrolize', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.status-bar-left,
.status-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff41;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.7);
    animation: statusPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.status-label { color: #00ff41; font-weight: 700; }
.status-meta  { color: rgba(0, 217, 255, 0.6); font-weight: 700; }

/* ── Form body ────────────────────────────────────────────────────────────── */
.register-form-col {
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.register-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.register-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #e8f6ff;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
}
.register-subtitle {
    font-size: 0.82rem;
    color: #b8b8c8;
    margin: 0;
    letter-spacing: 0.2px;
}

/* ── Errors ───────────────────────────────────────────────────────────────── */
.alert-danger {
    background: rgba(255, 68, 102, 0.08);
    border: 1px solid rgba(255, 68, 102, 0.45);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.78rem;
    color: #ff6680;
    letter-spacing: 0.3px;
}
.alert-danger ul { margin: 0; padding: 0 0 0 16px; }
.alert-danger ul:only-child li:only-child { list-style: none; padding: 0; }

/* ── Form ─────────────────────────────────────────────────────────────────── */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-label {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: #00d9ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.form-input {
    width: 100%;
    padding: 11px 13px;
    background: rgba(15, 15, 30, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.35);
    border-radius: 6px;
    color: #e8f6ff;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.88rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(184, 184, 200, 0.4); }
.form-input:focus {
    border-color: #00ff41;
    background: rgba(15, 15, 30, 1);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1);
}

/* ── Captcha ──────────────────────────────────────────────────────────────── */
.form-captcha {
    overflow: hidden;
}

/* ── Checkbox ─────────────────────────────────────────────────────────────── */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 9px;
}
.checkbox-group input[type="checkbox"],
.checkbox-group input[type="checkbox"]:focus,
.checkbox-group input[type="checkbox"]:focus-visible,
.checkbox-group input[type="checkbox"]:hover,
.checkbox-group input[type="checkbox"]:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 18px;
    height: 18px;
    border: 2px solid #00d9ff !important;
    border-radius: 3px;
    background: rgba(15, 15, 30, 0.8);
    box-shadow: 0 0 5px rgba(0, 217, 255, 0.3) !important;
    outline: none !important;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.checkbox-group input[type="checkbox"]:checked,
.checkbox-group input[type="checkbox"]:checked:focus,
.checkbox-group input[type="checkbox"]:checked:focus-visible,
.checkbox-group input[type="checkbox"]:checked:hover,
.checkbox-group input[type="checkbox"]:checked:active {
    background: rgba(15, 15, 30, 0.8);
    border: 2px solid #00d9ff !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(0, 217, 255, 0.3), 0 0 10px rgba(0, 217, 255, 0.5) !important;
}
.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00d9ff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
}
.checkbox-group label {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.8rem;
    color: #b8b8c8;
    cursor: pointer;
    letter-spacing: 0.2px;
}
.terms-link {
    color: #00d9ff;
    text-decoration: none;
    font-weight: 700;
}
.terms-link:hover { color: #00ff41; }

/* ── Submit button ────────────────────────────────────────────────────────── */
.register-button {
    width: 100%;
    margin-top: 4px;
    padding: 13px 20px;
    background: linear-gradient(135deg, #00d9ff 0%, #00ff41 100%);
    border: none;
    border-radius: 6px;
    color: #0a0e27;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.register-button:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 28px rgba(0, 255, 65, 0.45);
}
.register-button-arrow { font-size: 1rem; }

/* ── Sign-in footer ───────────────────────────────────────────────────────── */
.register-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid rgba(0, 217, 255, 0.15);
    font-size: 0.8rem;
}
.login-label { color: #b8b8c8; }
.login-link {
    color: #00d9ff;
    text-decoration: none;
    font-weight: 700;
}
.login-link:hover { color: #00ff41; }

/* ── Features card ────────────────────────────────────────────────────────── */
.register-aside-card {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.18);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.register-aside-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.04) 0%, rgba(255, 0, 255, 0.03) 100%);
    pointer-events: none;
}
.aside-inner {
    position: relative;
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.aside-tag {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    color: #00ff41;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.35);
}
.aside-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #e8f6ff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
}
.aside-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.aside-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.4;
}
.aside-feature-key {
    flex-shrink: 0;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    color: #00d9ff;
    letter-spacing: 1px;
    margin-top: 1px;
    text-shadow: 0 0 6px rgba(0, 217, 255, 0.4);
}
.aside-feature-text {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.76rem;
    color: #b8b8c8;
    letter-spacing: 0.2px;
}
.aside-feature-text strong { color: #e8f6ff; font-weight: 700; }
.aside-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 217, 255, 0.12);
    font-family: 'Electrolize', sans-serif;
    font-size: 0.67rem;
    color: rgba(184, 184, 200, 0.7);
    letter-spacing: 0.5px;
}
.aside-footer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff00ff;
    box-shadow: 0 0 6px rgba(255, 0, 255, 0.6);
    flex-shrink: 0;
}
