body {
    background-color: #eee2b6;
    background-image: url(../images/bg-light.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

.form-login .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo-form-login {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.header-form-login {
    font-size: 30px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

form {
    background-color: rgba(255, 255, 255);
    padding: 50px 20px !important;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 544px;
}

.form-text {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

    .form-text b {
        font-weight: bold;
    }

.timer {
    text-align: center;
    color: #adadad;
    font-size: 20px;
    display: block;
    margin: 30px auto -20px;
    font-style: italic;
}

form
input[type="text"],
input[type="tel"],
input[type="password"],
input[type="date"] {
    display: block;
    width: 100%;
    max-width: 384px;
    height: 48px;
    padding: 10px 20px; /* Tăng padding trái/phải cho đẹp với bo góc */
    border: 1px solid #f59e0b;
    border-radius: 25px;
    margin: 0 auto 20px;
    outline: none; /* Xóa viền mặc định của trình duyệt khi focus */
    /* Hiệu ứng chuyển cảnh mượt mà */
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
}

    /* Hiệu ứng khi di chuột qua */
    input[type="text"]:hover,
    input[type="password"]:hover,
    input[type="date"]:hover {
        border-color: #d97706; /* Màu đậm hơn một chút */
        background-color: #fffbeb; /* Nền ngả vàng cực nhẹ */
    }

    /* Hiệu ứng khi nhấn vào để nhập (Focus) */
    input[type="text"]:focus,
    input[type="password"]:focus,
    input[type="date"]:focus {
        border-color: #f59e0b;
        box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); /* Đổ bóng phát sáng nhẹ */
    }

input::placeholder {
    color: #999; /* Màu placeholder nhạt hơn */
    font-style: italic; /* In nghiêng để phân biệt với nội dung nhập */
}

.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 384px;
    margin: 0 auto 20px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.forgot-pwd {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #767683;
    text-decoration: none;
    font-size: 16px;
    text-decoration: underline;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.btn-login {
    background-color: #f59e0b;
    color: #ffffff;
    border: none;
    padding: 10px 36px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    font-weight: bold;
}

    .btn-login:hover {
        background-color: #d97706;
    }

.btn-register {
    background-color: #ded5b3;
    color: #393b3d;
    padding: 10px 36px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
}

    .btn-register:hover {
        background-color: #c9bfa3;
        color: #393b3d;
    }

.select-wrapper {
    position: relative;
    width: 100%;
    max-width: 384px;
    margin: 0 auto 20px;
}

    /* Thêm icon mũi tên tự chế */
    .select-wrapper::after {
        content: "▼";
        font-size: 10px;
        color: #f59e0b;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        /* ĐIỀU CHỈNH VỊ TRÍ: Dịch sang phải 1 tí (ví dụ 18px thay vì 20px) */
        right: 30px;
        pointer-events: none; /* Để khi click vào mũi tên vẫn mở được select */
        transition: all 0.3s ease;
    }

    /* Xoay mũi tên nhẹ khi hover vào vùng chọn (tùy chọn) */
    .select-wrapper:hover::after {
        color: #d97706;
    }

select {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 40px 10px 20px; /* Tăng padding-right (40px) để không đè chữ lên mũi tên */
    border: 1px solid #f59e0b;
    border-radius: 25px;
    outline: none;
    background-color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    /* BƯỚC QUAN TRỌNG: Ẩn mũi tên mặc định của hệ thống */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.3s ease-in-out;
}

    select:hover {
        border-color: #d97706;
        background-color: #fffbeb;
    }

    /* Khi select được focus */
    select:focus {
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    }

.password-check-list {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    font-size: 16px;
    color: #9ca3af; /* Màu xám mặc định */
    align-items: center;
    max-width: 360px;
    margin: -10px auto 20px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
}

    /* Khi thỏa mãn điều kiện */
    .check-item.active {
        color: #f59e0b; /* Màu cam giống border của bạn */
    }

/* Giả lập icon tích tròn bằng CSS */
.icon-check::before {
    content: "✔";
    display: inline-flex;
    width: 17px;
    height: 17px;
    background: #ccc;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    justify-content: center;
    align-items: center;
}

.check-item.active .icon-check::before {
    background: #f59e0b;
}

.char-count {
    margin-left: auto;
}

.form-noti-icon {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.phone-id {
    font-size: 24px;
    font-weight: bold;
}

/* Container chứa Timer và Resend link */
.otp-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

/* Phần text (Còn 59s) */
.otp-timer {
    color: #757575; /* Màu xám trung tính */
    font-size: 16px;
}

/* Phần link Gửi lại mã OTP */
.otp-resend {
    color: #333; /* Màu đen/xám đậm */
    font-size: 16px;
    text-decoration: underline; /* Gạch chân như trong ảnh Group 950.png */
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .otp-resend:hover {
        color: #000;
        text-decoration: none; /* Hiệu ứng khi hover */
    }

.form-login .btn-login {
    padding: 12px 40px;
    background-color: #f59e0b; /* Màu xám theo ảnh Group 803 */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    width: unset;
    height: unset;
}

@media (max-width: 576px) {
    form {
        padding: 30px;
    }

    .btn-group button {
        padding: 10px 24px;
        font-size: 18px;
    }
}
