/* ================= GLOBAL ================= */
* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    background: #f6f3f1;
}

/* ================= CONTAINER ================= */
.container {
    min-height: 100svh; /* anti goyang */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 16px;
}

/* ================= OUTER CARD ================= */
.outer-box {
    background: #6c4f41;
    padding: 24px;
    border-radius: 22px;
    display: flex;
    gap: 24px;
    align-items: center;
    width: 100%;
    max-width: 720px;
}

/* ================= LEFT INFO ================= */
.outer-info {
    flex: 1;
    text-align: center;
}

.brand-title {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 12px;
}

.brand-desc {
    font-size: 14px;
    color: #f1e9e5;
    line-height: 1.7;
}

/* ================= FORM BOX ================= */
.form-box {
    flex: 1;
    background: #ffffff;
    padding: 24px;
    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: 18px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    color: #6c4f41;
    font-weight: 600;
    font-size: 14px;
}

.tab.active {
    background: #6c4f41;
    color: #ffffff;
}

/* ================= INPUT ================= */
.form-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid #e0d6d0;
    font-size: 15px;
}

.form-box input:focus {
    border-color: #6c4f41;
    outline: none;
}

/* ================= PASSWORD ================= */
.password-wrapper {
    position: relative;
    margin-bottom: 14px;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c4f41;
    font-size: 18px;
}

/* ================= FORGOT ================= */
.forgot-wrap {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 16px;
}

.forgot-link {
    font-size: 13px;
    color: #6c4f41;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* ================= BUTTON ================= */
.btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: #6c4f41;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.btn-submit:hover {
    opacity: 0.9;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .container {
        align-items: flex-start;
        padding-top: 50px;
    }

    .outer-box {
        flex-direction: column; /* INI YANG BUAT ATAS-BAWAH */
        max-width: 420px;
    }

    .outer-info {
        width: 100%;
    }

    .form-box {
        width: 100%;
    }

    .brand-title {
        font-size: 34px;
    }
}