/* ===== RESET WOOCOMMERCE ===== */

.woocommerce{
    width:100%;
}

.auth-page .col2-set{
    display:block !important;
}

.auth-page .col-1,
.auth-page .col-2{
    width:100% !important;
    float:none !important;
    margin:0 !important;
}

/* ẨN COLUMN */
.login-page .col-2{ display:none !important; }
.register-page .col-1{ display:none !important; }

/* ===== BACKGROUND ===== */

.auth-page{
    margin:0;
    font-family:'Poppins',sans-serif;
    background: linear-gradient(135deg,#f4fff6,#eef3ff);
    color:#111;
}

/* WRAPPER */
.auth-wrapper{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

/* LOGO */
.auth-logo img{
    width:250px;
    margin-bottom:30px;
}

/* ===== CARD ===== */

.auth-card{
    width:100%;
    max-width:420px;
    padding:40px;
    border-radius:24px;
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

/* TITLE */
.auth-card h2{
    font-size:28px;
    margin-bottom:20px;
    font-weight:700;
}

/* ===== FORM ===== */

.auth-page form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.auth-page form.register{
    gap: 0;
}

/* ===== INPUT ===== */

.woocommerce-form-row{
    position:relative;
}

.auth-page input{
    width:100%;
    padding:14px 16px;
    border-radius:12px;
    border:1px solid #ddd;
    background:#fafafa;
    font-size:15px;
    transition:0.2s;
}

.auth-page input:focus{
    background:#fff;
    border-color:#3AE000;
    box-shadow:0 0 0 3px rgba(58,224,0,0.15);
}

/* ===== PASSWORD FIELD FIX CHUẨN ===== */

.password-input{
    position:relative;
    display:block;
}

.password-input input{
    padding-right:44px !important;
}

/* 👁 BUTTON FIX */
.show-password-input{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border:none;
    background:transparent;
    cursor:pointer;
    z-index:2;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* ICON */
.show-password-input::before{
    content:"👁";
    font-size:16px;
    line-height:1;
}

/* ❌ KHÔNG HOVER TRANSFORM */
.show-password-input:hover{
    opacity:0.7;
}

/* ===== CHECKBOX FIX ===== */

.woocommerce-form-login__rememberme{
    display:flex !important;
    align-items:center;
    gap:8px;
    cursor:pointer;
}

.woocommerce-form-login__rememberme input{
    width:auto !important;
    margin:0;
}

/* ===== ROW BUTTON + CHECKBOX ===== */

.auth-page form .form-row:last-child{
    display:flex;
    flex-direction:column;
    gap:12px;
}

/* ===== BUTTON FIX MÀU ===== */

.woocommerce-form-login__submit,
.woocommerce-form-register__submit{
    width:100% !important;
    padding:14px !important;
    border:none !important;
    border-radius:999px !important;

    background: linear-gradient(135deg,#00c853,#3AE000) !important;
    color:white !important;

    font-weight:700;
    font-size:15px;

    cursor:pointer;
    transition:0.25s;
}

/* HOVER BUTTON */
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(0,200,83,0.35);
}

/* ===== LINK ===== */

.auth-page a,
.auth-switch a{
    color:#00c853;
    font-weight:600;
    text-decoration:none;
}

.auth-page a:hover,
.auth-switch a:hover{
    text-decoration:underline;
}

/* SWITCH */
.auth-switch{
    margin-top:15px;
    text-align:center;
    color:#666;
}

/* ERROR */
.woocommerce-error{
    background:#ffe5e5;
    color:#d8000c;
    padding:10px;
    border-radius:10px;
}

/* LABEL */
.woocommerce label{
    font-size:14px;
    margin-bottom:5px;
    display:block;
    color:#444;
}

/* MOBILE */
@media(max-width:480px){
    .auth-card{
        padding:25px;
    }
}


