* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    margin: 0;
    background: #f6f3f1;
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* OUTER CARD */
.outer-box {
    background: #6c4f41;
    padding: 22px;
    border-radius: 22px;
    display: flex;
    gap: 22px;
    align-items: center;
    max-width: 640px;
}

/* LEFT INFO */
.outer-info {
    width: 230px;
    text-align: center;
}

.brand-title {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 12px;
}

.brand-desc {
    font-size: 14px;
    color: #f1e9e5;
    line-height: 1.8;
}

/* FORM BOX */
.form-box {
    width: 300px;
    background: #ffffff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* TAB */
.tab-header {
    display: flex;
    background: #f1e9e5;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 14px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    text-decoration: none;
    color: #6c4f41;
    font-weight: 600;
    font-size: 13px;
}

.tab.active {
    background: #6c4f41;
    color: #ffffff;
}

/* TITLE */
.title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 14px;
    color: #6c4f41;
    font-size: 16px;
}

/* INPUT */
.form-box input,
.form-box select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid #e0d6d0;
    font-size: 13px;
    background: #ffffff;
}

/* SELECT ARROW KE KIRI */
.form-box select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c4f41' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
    padding-right: 40px;
}

.form-box input:focus,
.form-box select:focus {
    border-color: #6c4f41;
    outline: none;
}

/* PASSWORD INFO */
/* PASSWORD INFO */
.password-info {
    font-size: 11px;
    color: #c04b4b;
    margin-bottom: 10px;

    margin-top: -15px;   /* ⬆ naik sedikit */
}


.password-info.valid {
    color: #2e7d32;
}

/* BUTTON */
.btn-submit {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 14px;
    background: #6c4f41;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit:hover {
    opacity: 0.9;
}

/* PASSWORD WRAPPER */
.password-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.password-wrapper input {
    width: 100%;
    padding: 10px 36px 10px 12px; /* ruang kanan untuk ikon */
    border-radius: 12px;
    border: 1px solid #e0d6d0;
    font-size: 13px;
}

.toggle-eye {
    position: absolute;
    right: 12px;
    top: 40%; /* ikon naik sedikit */
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c4f41; /* tetap coklat */
    font-size: 16px;
}
/* ================= HILANGKAN ICON MATA BAWAAN BROWSER ================= */

/* Chrome, Edge, Brave */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* Chrome, Edge (versi baru) */
input[type="password"]::-webkit-textfield-decoration-container {
    display: none;
}

input[type="password"] {
    appearance: none;
}

/* RESPONSIVE — TETAP MODEL WEB */
@media (max-width: 768px) {

    .container {
        align-items: flex-start;
        padding: 30px 16px;
    }

    .outer-box {
        flex-direction: column; /* jadi atas bawah */
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 20px;
        gap: 20px;
        
    }

    /* BAGIAN ATAS */
    .outer-info {
        width: 100%;
        text-align: center;
        order: 1;
    }

    .brand-title {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .brand-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    /* BAGIAN BAWAH */
    .form-box {
        width: 100%;
        padding: 20px;
        order: 2;
    }

    /* INPUT BIAR ENAK DI HP */
    .form-box input,
    .form-box select,
    .password-wrapper input {
        font-size: 15px;
        padding: 12px 40px 12px 12px;
    }

    .btn-submit {
        font-size: 15px;
        padding: 12px;
    }

    .tab {
        font-size: 13px;
        padding: 9px;
    }

    .toggle-eye {
        top: 50%;
        transform: translateY(-50%);
    }

    .password-info {
        font-size: 12px;
        margin-top: -10px;
    }
}