* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* LAYOUT */
.wrapper {
    display: flex;
    height: 100vh;
}

/* LEFT IMAGE */
.left {
    width: 68%;
}

.left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT */
.right {
    width: 32%;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* HEADER */
.header {
    text-align: center;
    margin-bottom: 25px;
}

.header img {
    width: 85px;
    margin-bottom: 10px;
}

.header h2 {
    color: #1e40af;
    font-weight: 700;
    font-size: 22px;
}

.header p {
    font-size: 12px;
    margin-top: 4px;
}

.header h3 {
    font-size: 15px;
    font-weight: 700;
    margin-top: 6px;
}

/* CARD */
.card {
    width: 360px;
    background: white;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* TITLE */
.card h2 {
    color: #1d4ed8;
    font-size: 22px;
    margin-bottom: 5px;
}

.sub-text {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* INPUT */
.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

/* ERROR STYLE */
.input-group.error input {
    border: 1px solid #ef4444;
}

.error-text {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: block;
}

/* BUTTON */
button {
    width: 100%;
    padding: 11px;
    background: #1f5fa9;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 5px;
    cursor: pointer;
}

button:hover {
    background: #174a85;
}

/* DIVIDER (Thanh ngang) */
.divider {
    margin: 18px 0;
    height: 1px;
    background: #e5e7eb;
}

/* LOGIN */
.login {
    text-align: left;
}

.login a {
    font-size: 12px;
    color: #1d4ed8;
    text-decoration: none;
}

/* OTP container */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

/* OTP box */
.otp-input {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 22px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
}

.otp-input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.error-box {
    background-color: #ffe6e6;
    color: #d8000c;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #ffb3b3;
}

.error-text {
    color: red;
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
}