/* auth_modern.css - Giao diện đăng nhập/đăng ký hiện đại */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;700&display=swap');

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 1rem;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: #fff;
}

.auth-logo {
    max-width: 120px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Đổi logo thành màu trắng */
}

.auth-card h2 {
    font-weight: 700;
    margin-bottom: 2rem;
}

.input-group-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group-custom .bi {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #ced4da;
    z-index: 10;
}

.form-control {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem; /* Chừa khoảng trống cho icon */
}
.form-control::placeholder {
    color: #ced4da;
}
.form-control:focus {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}
.form-check-label, .auth-options a {
    color: #e9ecef;
}
.auth-options a:hover {
    color: #fff;
}

.btn-primary {
    background-color: #fff;
    color: #333;
    border: none;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.btn-primary:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.divider-text {
    text-align: center;
    margin: 1.5rem 0;
    color: #e9ecef;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.btn-social {
    color: #fff;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}
.btn-social:hover {
    background: rgba(255, 255, 255, 0.25);
}

.auth-switch-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.auth-switch-link a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.auth-switch-link a:hover {
    text-decoration: underline;
}