/* Trở lại trang web */
.back-home-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: white;
    border: 2px solid #e63946;
    color: #e63946;
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    z-index: 999;
    transition: background-color 0.3s, color 0.3s;
}

.back-home-btn:hover {
    background-color: #e63946;
    color: white;
}


/* Đăng ký, đăng nhập*/
.auth-container {
    padding: 60px 5% 40px;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

.auth-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 450px;
    margin: 20px 0;
}

.auth-form h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

/* Form elements */
.form-group {
    margin-bottom: 20px;
}

.auth-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    border-color: #e63946;
    outline: none;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #e63946;
    color: white;
}

.btn-primary:hover {
    background-color: #d62c3a;
}

/* Social buttons */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.btn-social {
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #e0e0e0;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-social:hover {
    background: #f5f5f5;
}

.btn-social i {
    font-size: 18px;
}

.facebook { color: #1877f2; }
.google { color: #db4437; }
.apple { color: #000; }

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #888;
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.auth-divider::before {
    margin-right: 10px;
}

.auth-divider::after {
    margin-left: 10px;
}

/* Links */
.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-switch a {
    color: #e63946;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    color: #e63946;
}

.terms-text {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin: 20px 0 0;
}

.terms-text a {
    color: #e63946;
    text-decoration: none;
}

/* QR Login */
.qr-login {
    text-align: center;
    margin-bottom: 20px;
}

.qr-text {
    color: #e63946;
    font-size: 15px;
    margin-bottom: 10px;
}

/* Brand footer */
.brand-footer {
    text-align: center;
    padding: 20px 0 40px;
    color: #666;
}

.brand-slogan {
    font-size: 14px;
    margin-top: 5px;
    font-style: italic;
}