* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================================================
    STYLE: REGISTER PAGE
   ========================================================= */

/* ===== Layout utama ===== */
.regis-hal {
    background-color: #f0f4f9;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ===== Box register ===== */
.box-regis {
    background-color: white;
    width: 420px;
    max-width: 100%;

    padding: 25px 30px;
    border-radius: 14px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.4s ease;
}

/* Animasi halus */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Judul ===== */
.box-regis h2 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.box-regis h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 3px;
    background-color: #0099ff;
    margin: 10px auto 0;
    box-shadow: 0 0 8px #0099ff;
}

/* ===== form ===== */
.box-regis form {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== Label ===== */
.box-regis label {
    font-size: 0.95rem;
    font-weight: bold;
    color: #333;
}

/* ===== Input & Select ===== */
.box-regis input,
.box-regis select {
    padding: 12px;
    font-size: 1rem;

    background-color: #fafbfc;
    border: 1px solid #d0d7e0;
    border-radius: 8px;

    transition: 0.25s ease;
}

.box-regis input:focus,
.box-regis select:focus {
    border-color: #007BFF;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.25);
}

/* ===== Tombol Register ===== */
.box-regis button {
    margin-top: 10px;
    font-size: 1rem;
    padding: 12px;
    cursor: pointer;
    width: 100%;

    border: none;
    color: white;
    border-radius: 8px;
    background-color: #007bff;

    transition: 0.3s ease;
}

.box-regis button:hover {
        background: linear-gradient(90deg, #006ae6, #004eb2);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        -webkit-transform: translateY(-2px);
        -moz-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
        -o-transform: translateY(-2px);
}

.box-regis button:active {
    transform: translateY(0);
}

/* ===== Link ke Login ===== */
.notif-sudahpunyaakun {
    text-align: center;
    margin-top: 18px;
}

.notif-sudahpunyaakun a {
    text-decoration: none;
    font-weight: 600;
    color: #007BFF;
    font-size: 0.95rem;

    position: relative;
    transition: 0.3s ease;
}

.notif-sudahpunyaakun a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #007BFF;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.notif-sudahpunyaakun a:hover::after {
    width: 100%;
}

/* ===== Pesan Error, Sukses, Warning ===== */
.error, .success, .warning {
    display: block;
    text-align: center;
    font-size: 0.95rem;
    margin: 15px auto;
}

.error   { color: #d9534f; }
.success { color: #28a745; }
.warning { color: #ff9800; }

/* ===== Responsive (Mobile) ===== */
@media (max-width: 480px) {
    .box-regis {
        padding: 20px;
    }

    .box-regis h2 {
        font-size: 1.1rem;
    }

    .box-regis input,
    .box-regis select,
    .box-regis button,
    .notif-sudahpunyaakun a {
        font-size: .8rem;
    }

}
