/* public/modules/auth/css/login.css */

:root {
    --imoni-primary: #684EFF;
    --imoni-dark: #1570EF;
    --bg-gray: #F9FAFB;
    --bg-white: #F7F7F7;
}

body {
    font-family: 'Rethink Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.login-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-white);
}

/* Left Column */
.auth-sidebar {
    display: none;
    width: 50%;
    padding: 64px;
    color: white;
    flex-direction: column;
    justify-content: center;
    position: relative;

    background-color: rgba(0, 0, 0, 0.95);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background-blend-mode: multiply;
}
.bottom-logo{
    width: 65px;
    position: absolute;
    bottom: 32px;
}
.auth-text{
    position: absolute;
    top: 100px;
    max-width: 552px;
}
.header-section{
    margin: 0 auto;
    text-align: center;
    font-weight: 700;
    font-size: 32px;
}
.header-section img{
    margin: 0 auto;
}
.auth-illustration {
    position: absolute;
    bottom: 3em;
    left: 24px;
}
.glass-tag-border-only {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 9999px;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: none;
}

.glass-tag-border-only::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    padding: 1px;
    background: linear-gradient(200deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 80%, rgba(0, 0, 0, 1) 95%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-submit {
    background-color: var(--imoni-primary);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 1000px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease; /* Hiệu ứng mượt mà */
    width: 100%; /* Cho nút dài bằng input */
}

/* Hiệu ứng khi rê chuột vào (Hover) */
.btn-submit:hover {
    background-color: #0056b3;
    transform: translateY(-2px); /* Nhích nhẹ lên tạo cảm giác nổi */
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Hiệu ứng khi click (Active) */
.btn-submit:active {
    transform: translateY(0);
}

/* Trạng thái Loading (Nếu sau này ông dùng JS để submit) */
.btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
@media (min-width: 1024px) {
    .auth-sidebar { display: flex; }
}

.auth-sidebar h1 {
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Right Column Form */
.auth-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

@media (min-width: 1024px) {
    .auth-content { width: 50%; }
}

.form-wrapper {
    width: 100%;
    max-width: 400px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.input-control:focus {
    outline: none;
    border-color: var(--imoni-primary);
    box-shadow: 0 0 0 4px rgba(46, 144, 250, 0.1);
}

.btn-login {
    width: 100%;
    background-color: var(--imoni-primary);
    color: white;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-login:hover {
    background-color: var(--imoni-dark);
}
.input-group input{
    border-radius: 1000px;
    width: 100%;
    padding: 10px 12px;
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #4B5563;
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    font-size: 14px;
    color: var(--imoni-primary);
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: none;
}