/* ============================================================
   NEUMORPHISM REGISTER — Premium Soft UI Futuristic 3D
   ============================================================ */

* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: #e8ecf3;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === REGISTER CARD === */
.neu-register-card {
    width: 650px;
    padding: 50px 45px;
    border-radius: 28px;
    background: #e8ecf3;
    box-shadow:
        14px 14px 28px #c5c9cf,
        -14px -14px 28px #ffffff;
    animation: fadeIn 0.5s ease;
}

/* === LOGO HEADER === */
.neu-reg-header {
    text-align: center;
    margin-bottom: 35px;
}

.neu-reg-header img {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    box-shadow:
        7px 7px 14px #c5c9cf,
        -7px -7px 14px #ffffff;
}

.neu-reg-title {
    margin-top: 18px;
    font-size: 26px;
    font-weight: 600;
    color: #2f3542;
}

.neu-reg-sub {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
}

.neu-reg-sub a {
    color: #2980b9;
    text-decoration: none;
}

/* === FORM STRUCTURE === */

.neu-row {
    display: flex;
    gap: 22px;
    margin-bottom: 22px;
}

.neu-col {
    flex: 1;
}

.neu-input {
    width: 100%;
    padding: 15px 18px;
    border-radius: 16px;
    border: none;
    font-size: 15px;
    background: #e8ecf3;
    box-shadow: inset 6px 6px 12px #c5c9cf,
                inset -6px -6px 12px #ffffff;
    outline: none;
    transition: 0.2s;
    color: #333;
}

.neu-input:focus {
    box-shadow: inset 4px 4px 10px #c5c9cf,
                inset -4px -4px 10px #ffffff,
                0 0 0 3px rgba(59,130,246,0.22);
}

/* === CHECKBOX TERMS === */

.neu-terms {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin: 10px 0 25px 0;
}

.neu-check {
    width: 18px;
    height: 18px;
    accent-color: #2980b9;
}

/* === BUTTON === */

.neu-btn {
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    border: none;
    background: #e8ecf3;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow:
        7px 7px 14px #c5c9cf,
        -7px -7px 14px #ffffff;
    transition: 0.2s;
}

.neu-btn:active {
    box-shadow:
        inset 7px 7px 14px #c5c9cf,
        inset -7px -7px 14px #ffffff;
}

/* === ERROR BOX === */

.error-box {
    background: #fee2e2;
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 20px;
    color: #b83232;
    font-size: 14px;
    text-align: center;
    box-shadow:
        inset 6px 6px 12px #e2bbbb,
        inset -6px -6px 12px #ffffff;
}

/* === CAPTCHA MODAL === */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.modal-box {
    width: 420px;
    background: #e8ecf3;
    padding: 35px;
    border-radius: 26px;
    text-align: center;
    box-shadow:
        12px 12px 24px #c5c9cf,
        -12px -12px 24px #ffffff;
}

/* === TERMS MODAL === */

.terms-box {
    width: 820px;
    max-height: 90%;
    background: #e8ecf3;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    box-shadow:
        14px 14px 28px #c5c9cf,
        -14px -14px 28px #ffffff;
}

.terms-header {
    background: #2980b9;
    padding: 18px 25px;
    font-size: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-content {
    padding: 25px;
    color: #2f3542;
    line-height: 1.6;
    font-size: 15px;
    background: #e8ecf3;
}

.terms-footer {
    padding: 20px;
    background: #dfe4eb;
    text-align: right;
}

.terms-close-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 14px;
    background: #2980b9;
    color: white;
    cursor: pointer;
    font-size: 15px;
}

@keyframes fadeIn {
    from {opacity:0; transform:translateY(15px);}
    to {opacity:1; transform:translateY(0);}
}
