/* Estilos de botones Ecochiquis para Dokan shortcodes */
.eco-dokan-btns {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.eco-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9375rem 1.5625rem;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease-out;
}

.eco-btn span {
    display: inline-block;
}

.eco-dokan-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

/* Botón sólido oscuro (similar a la referencia) */
.eco-btn-dark {
    color: #fff;
    background: #1f2328;
    border: 1px solid #1f2328;
}
.eco-btn-dark:hover {
    background-color: var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #FBBF47)) !important;
    color: var(--wp--preset--color--palette-color-4, var(--theme-palette-color-4, #212529)) !important;
    border-color: var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #FBBF47));
    transform: translateY(-1px);
}

/* Variante outlined para "Mi Panel" */
.eco-btn-outline {
    color: #1f2328;
    background: transparent;
    border: 1px solid #343a40;
}
.eco-btn-outline:hover {
    background: #f3f4f6;
    border-color: #1f2328;
    transform: translateY(-1px);
}

/* ========================================
   Variante Simple/Minimal
   ======================================== */

/* Contenedor simplificado */
.eco-dokan-btns--simple {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

/* Botón simple - estilo minimalista */
.eco-btn-simple {
    color: #4a5568;
    background: #ffffff;
    border: none;
    padding: 0rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.eco-btn-simple:hover {
    color: #1a202c;
    background: #ffffff;
    transform: none;
}

/* Icono en versión simple */
.eco-btn-simple .eco-dokan-icon {
    width: 20px;
    height: 20px;
    color: #4a5568;
}

.eco-btn-simple:hover .eco-dokan-icon {
    color: #1a202c;
}

/* Ajustes para el texto en versión simple */
.eco-btn-simple span {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* ========================================
   Formulario de Login
   ======================================== */

.eco-login-form-wrapper {
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem;
}

.eco-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.eco-login-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.eco-login-field label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.eco-login-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.eco-login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.eco-login-input:focus {
    outline: none;
    border-color: #1f2328;
    box-shadow: 0 0 0 3px rgba(31, 35, 40, 0.1);
}

.eco-login-input:hover {
    border-color: #9ca3af;
}

/* Remember me checkbox */
.eco-login-remember {
    margin-top: -0.5rem;
}

.eco-login-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4b5563;
}

.eco-login-checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

/* Submit button */
.eco-login-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
}

/* Lost password link */
.eco-login-lost-password {
    text-align: center;
    margin-top: -0.5rem;
}

.eco-login-lost-password a {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.eco-login-lost-password a:hover {
    color: #1f2328;
    text-decoration: underline;
}

/* Mensajes */
.eco-login-message {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.eco-login-message p {
    margin: 0;
}

.eco-login-message p + p {
    margin-top: 0.75rem;
}

.eco-login-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.eco-login-logged-in {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    text-align: center;
}

.eco-login-logged-in .eco-btn {
    display: inline-flex;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 640px) {
    .eco-login-form-wrapper {
        padding: 1.5rem 1rem;
    }
}
