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

.register-body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: #f7f9fc;
    overflow: hidden;
    position: relative;
}

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

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

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

.register-card {
    width: 100%;
    max-width: 440px;
    padding: 2.4rem 2rem;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(160, 180, 255, 0.15);
    box-shadow: 0 14px 38px rgba(95, 168, 211, 0.25);
    position: relative;
    overflow: hidden;
}

/* 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 1.4rem;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;

    background: linear-gradient(90deg, #5fa8d3, #b39ddb, #80cbc4);
    -webkit-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: 6px;
    font-weight: 600;
    font-size: 15px;
    color: #263238;
}
.register-input{
    width: 90%;
}
.register-select {
    width: 50%;
}
.register-input,
.register-select {
    padding: 12px 14px;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    border: 1px solid #d9e6ff;
    background: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    transition: 0.25s ease;
    box-shadow: inset 0 0 8px rgba(95, 168, 211, 0.08);
}

.register-input:focus,
.register-select:focus {
    outline: none;
    border-color: #5fa8d3;
    box-shadow: 0 0 12px rgba(95, 168, 211, 0.35);
}

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

.register-btn {
    width: 100%;
    padding: 14px;
    margin-top: 0.5rem;

    border: none;
    border-radius: 14px;
    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;
}