/* Nền tổng thể */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #333;
}

/* Container chính */
.login-container {
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

/* Tiêu đề */
.form-wrapper .title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #444;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Form Container */
.form-wrapper {
    width: 100%;
    max-width: 400px;
    /* Giới hạn chiều rộng tối đa của form */
    margin: 0 auto;
    /* Căn giữa form */
}

/* Input Group */
.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.input-group input {
    width: 100%;
    /* Input sẽ chiếm 100% chiều rộng của container cha */
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    /* Đảm bảo padding không làm tăng kích thước */
    transition: all 0.3s ease-in-out;
}

.input-group input:focus {
    border-color: #764ba2;
    box-shadow: 0 0 8px rgba(118, 75, 162, 0.3);
    outline: none;
}

/* Nút đăng nhập */
.btn {
    width: 100%;
    /* Đảm bảo nút bấm rộng bằng input */
    background: linear-gradient(135deg, #764ba2, #667eea);
    color: #fff;
    font-weight: bold;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

/* Footer */
.footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.footer a {
    color: #667eea;
    font-weight: bold;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.settings-area ul {
    margin-top: 8px;
    margin-bottom: 16px;
    padding-left: 20px;
}

.settings-area li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.settings-area .important {
    color: red;
    font-weight: bold;
}

.settings-area strong {
    display: block;
    margin-top: 16px;
    font-size: 1.1em;
}

/* Thông báo lỗi */
.error-message {
    background: rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Hiệu ứng lỗi */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}