/* ===============================
   FONT & GLOBAL
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ===============================
   BODY (SCROLL ENABLE)
================================ */
body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    position: relative;
    overflow-y: auto;
    padding: 40px 0;
}

/* ===============================
   WRAPPER
================================ */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ===============================
   BACKGROUND SHAPES
================================ */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    z-index: 0;
}

.bg1 {
    width: 300px;
    height: 300px;
    background: #60a5fa;
    top: -80px;
    left: -80px;
}

.bg2 {
    width: 220px;
    height: 220px;
    background: #38bdf8;
    bottom: -60px;
    right: -60px;
}

.bg3 {
    width: 160px;
    height: 160px;
    background: #93c5fd;
    top: 50%;
    right: -80px;
}

/* ===============================
   CARD REGISTRASI
================================ */
.register-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 30px 28px;
    border-radius: 18px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.12);
    position: relative;
    z-index: 2;
}

.register-container h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #1f2937;
}

/* ===============================
   FORM
================================ */
.register-container form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.register-container input,
.register-container textarea,
.register-container select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    background: #fff;
}

.register-container textarea {
    resize: none;
    min-height: 70px;
}

.register-container input:focus,
.register-container textarea:focus,
.register-container select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}

/* ===============================
   BUTTON
================================ */
.register-container button {
    margin-top: 10px;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.register-container button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

/* ===============================
   ERROR MESSAGE
================================ */
.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 12px;
}

.error-box ul {
    margin: 0;
    padding-left: 18px;
}

/* ===============================
   FOOTER LINK
================================ */
.register-container p {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
}

.register-container a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.register-container a:hover {
    text-decoration: underline;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 480px) {
    body {
        padding: 20px 0;
    }

    .register-container {
        margin: 0 16px;
        padding: 24px 20px;
    }
}
