/* =========================================
   CSS TRANG HỒ SƠ (ĐĂNG NHẬP / ĐĂNG KÝ)
   ========================================= */
.auth-wrapper {
    max-width: 400px;
    margin: 40px auto 100px auto; /* Cách đáy 100px để không dính thanh menu */
    padding: 30px;
    background: #1e1e1e;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.auth-title {
    text-align: center;
    color: #00d2d3;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: bold;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 14px 15px;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box; /* Đảm bảo padding không làm tràn width */
}

.input-group input:focus {
    border-color: #00d2d3;
    box-shadow: 0 0 8px rgba(0, 210, 211, 0.2);
}

/* Nút ẩn/hiện mật khẩu (Con mắt) */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 14px;
    user-select: none;
}

.toggle-password:hover {
    color: #00d2d3;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 20px;
}

.auth-options a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-options a:hover {
    color: #00d2d3;
}

/* Nút Đăng nhập / Đăng ký chính */
.btn-auth {
    width: 100%;
    padding: 14px;
    background: #00d2d3;
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-auth:hover {
    background: #00b8b9;
}

/* Dòng chữ HOẶC */
.auth-divider {
    text-align: center;
    color: #666;
    font-size: 12px;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before, .auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #444;
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* Nút Đăng nhập bằng Google */
.btn-google {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-google:hover {
    background: #ddd;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}

.auth-switch a {
    color: #00d2d3;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}