/* ============================================
   GLOBAL — REGISTER PAGE (NEURONAL THEME)
============================================ */

.register-body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: #f7f9fc;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Neural animated background */
#registerNeural {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    z-index: 0;
    pointer-events: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(95, 168, 211, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(95, 168, 211, 0.8);
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(95, 168, 211, 0.5) transparent;
}

/* ============================================
   WRAPPER + CARD
============================================ */

.register-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.2rem;
    box-sizing: border-box;
}

.register-card {
    width: 100%;
    max-width: 420px;
    padding: 2rem 1.8rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(95, 168, 211, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    position: relative;
    box-sizing: border-box;
}

/* Halo center animation */
.register-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    width: 180%;
    height: 180%;
    margin: auto;
    background: radial-gradient(circle,
            rgba(95, 168, 211, 0.22),
            transparent 70%);
    z-index: -1;
    animation: registerGlow 8s ease-in-out infinite;
}

@keyframes registerGlow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12) translate(10px, 10px);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================================
   TITLE
============================================ */

.register-title {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;

    background: linear-gradient(90deg, #5fa8d3, #b39ddb, #80cbc4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 0 6px rgba(95, 168, 211, 0.4));
}

/* ============================================
   FORM ELEMENTS
============================================ */

label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 13px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-input {
    width: 100%;
    box-sizing: border-box;
}

.register-select {
    width: 60%;
    box-sizing: border-box;
}

.register-input,
.register-select {
    padding: 10px 14px;
    margin-bottom: 0.9rem;
    border-radius: 12px;
    border: 1px solid #d9e6ff;
    background: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.register-input:focus,
.register-select:focus {
    outline: none;
    background: #ffffff;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

/* ============================================
   BUTTON
============================================ */

.register-btn {
    width: 100%;
    padding: 12px;
    margin-top: 0.2rem;

    border: none;
    border-radius: 12px;
    cursor: pointer;

    background: linear-gradient(90deg, #5fa8d3, #80cbc4);
    color: #fff;
    font-size: 17px;
    font-weight: 600;

    transition: 0.3s ease;
    box-shadow: 0 4px 14px rgba(95, 168, 211, 0.3);
}

.register-btn:hover {
    box-shadow: 0 8px 20px rgba(95, 168, 211, 0.45);
}

/* Hint */
.register-hint {
    font-size: 13px;
    color: #607d8b;
    margin-top: 8px;
    text-align: center;
}

/* Login link */
.register-login {
    margin-top: 1rem;
    text-align: center;
}

.register-login a {
    text-decoration: none;
    color: #5fa8d3;
    font-weight: 500;
}

.register-login a:hover {
    text-decoration: underline;
}


/* ============================================
   ALERTS
============================================ */

.register-alert {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 15px;
}

.register-alert.ok {
    background: #e6ffef;
    border: 1px solid #b2f5c7;
    color: #147d45;
}

.register-alert.err {
    background: #ffe8ea;
    border: 1px solid #ffb3bb;
    color: #b30021;
}

/* ============================================
   VERIFY MODAL (EMAIL)
============================================ */

.verify-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.verify-modal {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    width: 92%;
    max-width: 420px;

    box-shadow: 0 10px 30px rgba(95, 168, 211, 0.25);
    animation: popupIn 0.35s ease;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.verify-modal h3 {
    margin-top: 0;
    font-size: 1.35rem;
}

.verify-row {
    display: flex;
    margin-top: 1rem;
    gap: 8px;
}

.verify-input {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #d9e6ff;
    font-size: 16px;
}

.verify-btn {
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;

    background: #5fa8d3;
    color: white;
}

.verify-btn.ghost {
    background: #eef7ff;
    color: #2e4e63;
    border: 1px solid #daeaff;
}

.verify-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}