body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url("/images/Background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", sans-serif;
}

.register-wrapper {
    display: flex;
    width: 100%;
    max-width: 960px;
    min-height: 580px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin: 2rem;
}

/* ─── Panel Kiri ─────────────────────────────────────── */
.register-left {
    flex: 1;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* logo & teks rata tengah */
    justify-content: center;
    text-align: center; /* teks juga tengah */
}

.register-left .logo {
    width: 140px; /* diperbesar dari 60px */
    margin-bottom: 2rem;
}

.register-left h1 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.register-left p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Divider Vertikal ───────────────────────────────── */
.register-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ─── Panel Kanan ────────────────────────────────────── */
.register-right {
    flex: 1.2;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: 90vh;
}

.register-right form {
    margin: auto 0;
}

.register-right h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* ─── Form Label ─────────────────────────────────────── */
.register-right label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

/* ─── Form Input ─────────────────────────────────────── */
.register-input {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 0 !important;
    color: white !important;
    padding: 0.5rem 0 !important;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.register-input:focus {
    border-bottom-color: #0dcaf0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: white !important;
}

.register-input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.register-input option {
    color: #000;
    background: white;
}

/* ─── Select ─────────────────────────────────────────── */
.register-select {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 0 !important;
    color: white !important;
    padding: 0.5rem 0 !important;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    appearance: auto;
    transition: border-color 0.2s;
}

.register-select:focus {
    border-bottom-color: #0dcaf0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: white !important;
}

.register-select option {
    color: #000;
    background: white;
}

/* ─── Invalid Feedback ───────────────────────────────── */
.register-right .invalid-feedback,
.register-right .text-danger {
    font-size: 0.78rem;
    color: #ff6b6b !important;
}

/* ─── Tombol Register ────────────────────────────────── */
.register-btn {
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 1.5rem;
}

.register-btn:hover {
    background: #0a58ca;
    transform: translateY(-1px);
}

.register-btn:active {
    transform: translateY(0);
}

/* ─── Link Login ─────────────────────────────────────── */
.register-login-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.register-login-link a {
    color: #0dcaf0;
    text-decoration: none;
    font-weight: 600;
}

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

/* ─── Scrollbar ──────────────────────────────────────── */
.register-right::-webkit-scrollbar {
    width: 4px;
}

.register-right::-webkit-scrollbar-track {
    background: transparent;
}

.register-right::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .register-wrapper {
        flex-direction: column;
        margin: 1rem;
    }

    .register-left {
        padding: 2rem 1.5rem;
    }

    .register-left h1 {
        font-size: 1.5rem;
    }

    .register-divider {
        width: 100%;
        height: 1px;
    }

    .register-right {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}
