/* ==========================================================================
   LOGIN STYLE - ĐỘC LẬP HOÀN TOÀN VỚI STYLE.CSS
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000000;
    /* Có lớp phủ mờ gradient lồng đè lên ảnh nền để chữ không bị lóa */
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('picture/0645_No-Way-Home-Re-.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Khung căn giữa màn hình */
.login-container {
    width: 100%;
    max-width: 450px;
}

/* Hộp nội dung đăng nhập mờ nhẹ sang trọng */
.login-box {
    background-color: rgba(0, 0, 0, 0.85);
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Định dạng Logo đỏ-trắng */
.login-logo {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.login-logo span {
    color: #e50914;
}

.login-box h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #aaaaaa;
    font-size: 14px;
    margin-bottom: 28px;
}

/* Cấu trúc các ô nhập */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    color: #cccccc;
    font-size: 13px;
    font-weight: 500;
}

.label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link, .register-link {
    color: #e50914;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.forgot-link:hover, .register-link:hover {
    color: #ff333a;
    text-decoration: underline;
}

/* Định vị Icon nằm bên trong ô input */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #666666;
    font-size: 16px;
    transition: color 0.2s ease;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}

/* Hiệu ứng phát sáng màu đỏ tinh tế khi người dùng nhấp chọn ô nhập (Focus) */
.input-wrapper input:focus {
    border-color: #e50914;
    background-color: #222222;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
}

/* Icon đổi màu đỏ tương ứng khi ô input được chọn */
.input-wrapper input:focus + i {
    color: #e50914;
}

/* Checkbox ghi nhớ tùy chọn màu đỏ đồng bộ */
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.remember-me input[type="checkbox"] {
    accent-color: #e50914;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.remember-me label {
    color: #aaaaaa;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

/* Nút Đăng Nhập lớn màu đỏ */
.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #e50914;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background-color: #b20710;
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

/* Chân hộp đăng nhập */
.login-footer {
    margin-top: 30px;
    text-align: center;
    color: #888888;
    font-size: 14px;
    border-top: 1px solid #222222;
    padding-top: 20px;
}