/* ===========================================
   ADHOC WOOSUITE – AUTH WRAPPER 
   =========================================== */ 
   
.adhoc-woosuite-auth-wrapper {
    max-width: 450px;
    margin: 0 auto;
    padding: 30px; 
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-family: inherit; 
} 
  
/* Mensajes */
.adhoc-woosuite-auth-messages {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
}

.adhoc-woosuite-auth-messages p{
    margin: 0px !important;
    font-weight: 600 !important;
}

.adhoc-woosuite-auth-errors {
    background: #fdecea;
    color: #a4282b;
    border: 1px solid #f3c1bd;
}

.adhoc-woosuite-auth-success {
    background: #e7f7ed;
    color: #278652;
    border: 1px solid #b8e3c6;
}

/* ===========================================
   TABS
   =========================================== */

.adhoc-woosuite-auth-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
}

.adhoc-woosuite-auth-tab-btn {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
}

.adhoc-woosuite-auth-tab-btn:hover {
    color: #333;
}

.adhoc-woosuite-auth-tab-btn.is-active {
    color: #111;
    border-bottom-color: #111;
    font-weight: 600;
}

/* ===========================================
   FORMS
   =========================================== */

.adhoc-woosuite-form {
    display: none;
}

.adhoc-woosuite-form.is-active {
    display: block;
}

.adhoc-woosuite-form-inner {
    display: grid;
    gap: 18px;
}

/* Campos */
.adhoc-woosuite-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.adhoc-woosuite-field input[type="text"],
.adhoc-woosuite-field input[type="email"],
.adhoc-woosuite-field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.adhoc-woosuite-field input:focus {
    border-color: #999;
    background: #fff;
    outline: none;
}

/* ============================
   PASSWORD FIELD (SHOW/HIDE)
   ============================ */

.adhoc-woosuite-password-wrapper {
    position: relative;
}

.adhoc-woosuite-password-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.adhoc-woosuite-password-inner input[type="password"],
.adhoc-woosuite-password-inner input[type="text"] {
    width: 100%;
    padding-right: 44px; /* espacio para el icono */
    box-sizing: border-box;
}

/* Botón del ojo */
.adhoc-woosuite-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: 100%;
    padding: 5px;
    cursor: pointer;
    line-height: 0;
    background-color: #000;
}

.adhoc-woosuite-password-toggle img {
    width: 16px;
    height: 16px;
    display: block;
    transition: opacity 0.15s ease-in-out;
}


/* Para evitar selección accidental */
.adhoc-woosuite-password-toggle:focus {
    outline: none;
    box-shadow: none;
}


/* Checkbox */
.adhoc-woosuite-field-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -4px;
    font-size: 14px;
    color: #555;
}

.adhoc-woosuite-field-inline label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.adhoc-woosuite-field-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0 6px 0 0;
}


/* Botones */
.adhoc-woosuite-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    background: #111;
    color: white;
}

.adhoc-woosuite-btn:hover {
    opacity: 0.85;
}

/* Layout responsive */
@media (max-width: 480px) {
    .adhoc-woosuite-auth-wrapper {
        padding: 20px;
    }

    .adhoc-woosuite-auth-tab-btn {
        font-size: 15px;
    }
    .adhoc-woosuite-password-toggle img {
        width: 18px;
        height: 18px;
    }
}


