/* Dashboard Moderno - QR Carta */

/* Variables CSS para colores consistentes */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 15px;
    --border-radius-large: 20px;
    --transition: all 0.3s ease;
}

/* Reset y estilos base mejorados */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Contenedor principal del dashboard */
.dashboard-container {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="60" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="70" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    pointer-events: none;
}

/* Tarjetas del dashboard */
.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

/* Sección de bienvenida */
.welcome-section {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--border-radius-large);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.welcome-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-section h1 {
    color: var(--dark-color);
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.restaurant-name {
    color: var(--danger-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Badges de plan */
.plan-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.plan-premium {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.plan-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    color: white;
    text-decoration: none;
}

.plan-standard {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    color: white;
    box-shadow: 0 5px 15px rgba(149, 165, 166, 0.3);
}

.plan-standard:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(149, 165, 166, 0.4);
    color: white;
    text-decoration: none;
}

/* Grid de acciones */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Tarjetas de acción */
.action-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
    color: inherit;
}

/* Iconos de acción */
.icon-circle{
    margin-right: 10px;
}
.action-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-primary { 
    background: linear-gradient(135deg, var(--info-color), #2980b9); 
}
.icon-success { 
    background: linear-gradient(135deg, var(--success-color), #27ae60); 
}
.icon-warning { 
    background: linear-gradient(135deg, var(--warning-color), #e67e22); 
}
.icon-info { 
    background: linear-gradient(135deg, #9b59b6, #8e44ad); 
}
.icon-secondary { 
    background: linear-gradient(135deg, #34495e, var(--dark-color)); 
}
.icon-danger { 
    background: linear-gradient(135deg, var(--danger-color), #c0392b); 
}

/* Títulos y descripciones */
.action-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

.action-description {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Overlay para funciones premium */
.premium-overlay {
    position: relative;
}

.premium-overlay::after {
    content: "🔒 Premium";
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, var(--danger-color), #c0392b);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

/* Sección de soporte */
.support-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.support-section h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.support-link {
    color: var(--info-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.support-link:hover {
    color: #2980b9;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Botones mejorados */
.btn-gradient-primary {
    background: linear-gradient(135deg, #e85d8a 0%, #cd2653 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-gradient-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .action-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem 0;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .welcome-section {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .action-card {
        padding: 2rem 1.5rem;
    }
    
    .action-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .action-title {
        font-size: 1.1rem;
    }
    
    .action-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 1.5rem 1rem;
    }
    
    .welcome-section h1 {
        font-size: 1.8rem;
    }
    
    .restaurant-name {
        font-size: 1.1rem;
    }
    
    .plan-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Efectos especiales para interacciones */
.action-card:active {
    transform: translateY(-5px) scale(0.98);
}

.premium-overlay:hover::after {
    animation: pulse 1s ease-in-out;
}

/* Mejoras de accesibilidad */
.action-card:focus,
.plan-badge:focus,
.btn-gradient-primary:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Dark mode support (opcional) */
@media (prefers-color-scheme: dark) {
    .dashboard-card {
        background: rgba(45, 55, 72, 0.95);
        color: white;
    }
    
    .welcome-section {
        background: #2d3748;
        color: white;
    }
    
    .action-card {
        background: #2d3748;
        color: white;
    }
    
    .action-title {
        color: white;
    }
}

.dashboard-container {
    background: linear-gradient(135deg, #e85d8a 0%, #cd2653 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.welcome-section {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-section h1 {
    color: #2c3e50;
    font-weight: 300;
    margin-bottom: 1rem;
}

.restaurant-name {
    color: #e74c3c;
    font-weight: 600;
}

.plan-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.plan-premium {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
}

.plan-standard {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    color: white;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.action-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.action-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.icon-primary { background: linear-gradient(45deg, #3498db, #2980b9); }
.icon-success { background: linear-gradient(45deg, #2ecc71, #27ae60); }
.icon-warning { background: linear-gradient(45deg, #f39c12, #e67e22); }
.icon-info { background: linear-gradient(135deg, #e85d8a 0%, #cd2653 100%); }
.icon-secondary { background: linear-gradient(45deg, #34495e, #2c3e50); }
.icon-danger { background: linear-gradient(45deg, #e74c3c, #c0392b); }

.action-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.action-description {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

.premium-overlay {
    position: relative;
}

.premium-overlay::after {
    content: "🔒 Premium";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.support-section {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
}

.support-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.support-link:hover {
    color: #2980b9;
    text-decoration: none;
}

@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-container {
        padding: 0rem;
    }

    .login-wrap {
        padding: 2vh;
    }
    
    .welcome-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.subscription-container {
    background: white;
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
}

.subscription-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="60" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="70" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    pointer-events: none;
}

.subscription-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: none;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.hero-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #e85d8a 0%, #cd2653 100%);
    color: white;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section.premium-active {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color:white!important;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.price-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.promo-code {
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.promo-code-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background: white;
    color: #cd2653;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin: 1rem 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #cd2653;
}

.cta-button.premium-active {
    background: #e74c3c;
    color: white;
}

.cta-button.premium-active:hover {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--feature-color, linear-gradient(90deg, #667eea, #764ba2));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    background: var(--feature-color, linear-gradient(45deg, #667eea, #764ba2));
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-highlight {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-quote {
    font-style: italic;
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.feature-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #2980b9;
    text-decoration: none;
    transform: translateX(5px);
}

.testimonial-section {
    background: #f8f9fa;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    text-align: center;
}

.support-section {
    
    color: white;
    padding: 2rem;
    border-radius: 25px 25px 25px 25px;
    text-align: center;
}

.support-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.support-link:hover {
    color: #5dade2;
    text-decoration: none;
}

/* Colores específicos para cada feature */
.feature-photos {
    --feature-color: linear-gradient(45deg, #e74c3c, #c0392b);
}

.feature-details {
    --feature-color: linear-gradient(45deg, #e85d8a, #cd2653);
}

.feature-background {
    --feature-color: linear-gradient(45deg, #9b59b6, #8e44ad);
}

.feature-analytics {
    --feature-color: linear-gradient(45deg, #3498db, #2980b9);
}

.feature-excel {
    --feature-color: linear-gradient(45deg, #27ae60, #2ecc71);
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* ESTILOS MODERNOS PARA FORMULARIOS */

/* Formularios modernos */
.modern-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    padding: 3rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.modern-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.modern-form h2, .modern-form h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.modern-form h2::after, .modern-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Grupos de formulario */
.modern-form-group {
    margin-bottom: 2rem;
    position: relative;
}

.modern-form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Inputs modernos */
.modern-input, 
.au-input, 
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-color);
    background: white;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    outline: none;
    font-family: inherit;
}

.modern-input:focus, 
.au-input:focus, 
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.modern-input:hover, 
.au-input:hover, 
.form-control:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover {
    border-color: #cbd5db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Placeholder estilizado */
.modern-input::placeholder, 
.au-input::placeholder, 
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #a0a9b8;
    font-style: italic;
    font-weight: 300;
}

/* Textarea moderna */
textarea.modern-input, 
textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Select moderno */
select.modern-input, 
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
    appearance: none;
}

/* Botones modernos */
.modern-btn, 
.au-btn,
.btn,
button[type="submit"],
input[type="submit"],
.btn-primary,
.btn-success,
.btn-warning,
.btn-danger,
.btn-info {
    display: inline;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    outline: none;
}

.modern-btn::before, 
.au-btn::before,
.btn::before,
button[type="submit"]::before,
input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.modern-btn:hover::before, 
.au-btn:hover::before,
.btn:hover::before,
button[type="submit"]:hover::before,
input[type="submit"]:hover::before {
    left: 100%;
}

/* Colores de botones */
.modern-btn-primary, 
.au-btn--green,
.btn-primary,
button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.modern-btn-primary:hover, 
.au-btn--green:hover,
.btn-primary:hover,
button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.modern-btn-success, 
.btn-success {
    background: linear-gradient(135deg, var(--success-color), #27ae60);
    color: white;
}

.modern-btn-success:hover, 
.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.4);
    color: white;
    text-decoration: none;
}

.modern-btn-warning, 
.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
    color: white;
}

.modern-btn-warning:hover, 
.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.4);
    color: white;
    text-decoration: none;
}

.modern-btn-danger, 
.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
    color: white;
}

.modern-btn-danger:hover, 
.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

.modern-btn-info, 
.btn-info {
    background: linear-gradient(135deg, var(--info-color), #2980b9);
    color: white;
}

.modern-btn-info:hover, 
.btn-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

/* Botón de bloque */
.modern-btn-block, 
.au-btn--block,
.btn-block {
    width: 100%;
    display: block;
}

/* Checkboxes y radios modernos */
.modern-checkbox, 
.modern-radio {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.modern-checkbox input[type="checkbox"], 
.modern-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.modern-checkbox .checkmark, 
.modern-radio .checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: white;
    border: 2px solid #e8ecef;
    border-radius: 4px;
    transition: var(--transition);
}

.modern-radio .checkmark {
    border-radius: 50%;
}

.modern-checkbox:hover .checkmark, 
.modern-radio:hover .checkmark {
    border-color: var(--primary-color);
}

.modern-checkbox input:checked ~ .checkmark, 
.modern-radio input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.modern-checkbox .checkmark:after, 
.modern-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.modern-checkbox input:checked ~ .checkmark:after, 
.modern-radio input:checked ~ .checkmark:after {
    display: block;
}

.modern-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modern-radio .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Alertas modernas */
.modern-alert, 
.alert {
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.modern-alert-success, 
.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left: 5px solid #27ae60;
}

.modern-alert-warning, 
.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    color: #e67e22;
    border-left: 5px solid #e67e22;
}

.modern-alert-danger, 
.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 5px solid #c0392b;
}

.modern-alert-info, 
.alert-info {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    border-left: 5px solid #2980b9;
}

/* Input con iconos */
.modern-input-icon {
    position: relative;
}

.modern-input-icon input {
    padding-left: 1.5rem;
}

.modern-input-icon i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Mejoras para el login */
.login-wrap {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-content {
    padding: 3rem;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo img {
    max-width: 200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .subscription-container {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .promo-code-text {
        font-size: 1.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .modern-form {
        padding: 2rem 1.5rem;
    }
    
    .login-content {
        padding: 2rem 1.5rem;
    }
    
    .login-form {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   MEJORAS DE USABILIDAD MÓVIL PARA PRODUCTOS
   ============================================ */

/* Mejoras generales para touch en móvil */
@media (max-width: 768px) {
    /* Botones principales más grandes y espaciados */
    .btn, button {
        min-height: 48px !important;
        padding: 12px 20px !important;
        margin: 8px 4px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        display: inline-block;
        width: auto;
        touch-action: manipulation;
    }
    
    /* Botones en stack vertical en móvil */
    .mobile-btn-stack{
        margin: 4em 0 !important;
    }
    .mobile-btn-stack .btn {
        display: block;
        width: 100%;
        margin: 2em auto !important;
    }
    
    /* Mejorar tabla de productos para móvil */
    .table-responsive {
        border: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table td, .table th {
        padding: 12px 8px !important;
        vertical-align: middle;
        border: 1px solid #e9ecef;
    }
    
    /* Enlaces de edición más grandes */
    .table td a {
        display: inline-block;
        min-height: 44px;
        padding: 10px 8px;
        line-height: 24px;
        text-decoration: none;
        border-radius: 6px;
        background-color: rgba(0, 123, 255, 0.1);
        color: #007bff !important;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }
    
    .table td a:hover, .table td a:focus {
        background-color: rgba(0, 123, 255, 0.2);
        transform: scale(1.02);
    }
    
    /* Checkboxes más grandes y táctiles */
    input[type="checkbox"] {
        width: 24px !important;
        height: 24px !important;
        margin: 8px;
        cursor: pointer;
        transform: scale(1.5);
        accent-color: #007bff;
    }
    
    /* Crear botones táctiles para los checkboxes */
    .checkbox-touch-wrapper {
        display: inline-block;
        min-width: 60px;
        min-height: 48px;
        padding: 8px;
        border-radius: 8px;
        background-color: #f8f9fa;
        border: 2px solid #dee2e6;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        user-select: none;
    }
    
    .checkbox-touch-wrapper:hover {
        background-color: #e9ecef;
        border-color: #007bff;
    }
    
    .checkbox-touch-wrapper.active {
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }
    
    /* Botón de eliminar más grande */
    .delete-btn {
        display: inline-block;
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
        background-color: #dc3545;
        color: white !important;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .delete-btn:hover, .delete-btn:focus {
        background-color: #c82333;
        color: white !important;
        transform: scale(1.05);
    }
    
    .delete-btn i {
        font-size: 18px;
    }
    
    /* Navegación de pestañas mejorada */
    .nav-tabs .nav-link {
        padding: 12px 8px !important;
        margin: 4px 2px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px !important;
        font-size: 14px;
    }
    
    .nav-tabs .nav-link i {
        margin-right: 6px;
        font-size: 16px;
    }
    
    /* Texto oculto en móvil para ahorrar espacio */
    .no_telf {
        display: none;
    }
    
    /* Título de tabla más compacto */
    .table thead th {
        font-size: 14px;
        padding: 8px 6px !important;
        background-color: #f8f9fa;
        font-weight: 600;
    }
    
    /* Mejorar el espaciado entre secciones */
    .card {
        margin-bottom: 20px;
    }
    
    h3 {
        font-size: 18px !important;
        margin: 20px 0 15px 0;
    }
}

/* Mejoras adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Tabla en modo card para móviles pequeños */
    .table-mobile-cards .table thead {
        display: none;
    }
    
    .table-mobile-cards .table tbody tr {
        display: block;
        margin-bottom: 15px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    .table-mobile-cards .table tbody td {
        display: block;
        padding: 12px 15px !important;
        border: none;
        border-bottom: 1px solid #f1f1f1;
        position: relative;
        text-align: left;
    }
    
    .table-mobile-cards .table tbody td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #666;
        font-size: 12px;
        text-transform: uppercase;
    }
    
    /* Botones de acción en móvil pequeño */
    .table-mobile-cards .mobile-actions {
        display: flex;
        gap: 8px;
        margin-top: 10px;
    }
    
    .table-mobile-cards .mobile-actions .btn,
    .table-mobile-cards .mobile-actions .checkbox-touch-wrapper,
    .table-mobile-cards .mobile-actions .delete-btn {
        flex: 1;
        text-align: center;
    }
}

/* Animaciones suaves para interacciones */
@media (max-width: 768px) {
    .btn:active,
    .btn.touch-active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
    
    .table td a:active,
    .table td a.touch-active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
    
    .checkbox-touch-wrapper:active,
    .checkbox-touch-wrapper.touch-active {
        transform: scale(0.95);
        transition: transform 0.1s;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3);
    }
    
    .delete-btn:active,
    .delete-btn.touch-active {
        transform: scale(0.95);
        transition: transform 0.1s;
        box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.3);
    }
    
    /* Feedback visual adicional para mejor UX */
    .checkbox-touch-wrapper.active.touch-active {
        background-color: #0056b3;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3);
    }
    
    /* Estados de focus para accesibilidad */
    .checkbox-touch-wrapper:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
    
    .delete-btn:focus {
        outline: 2px solid #dc3545;
        outline-offset: 2px;
    }
}

/* ============================================
   MEJORAS FORMULARIO PRODUCTO MÓVIL
   ============================================ */

/* Checkboxes de alérgenos mejorados para móvil */
@media (max-width: 768px) {
    .allergen-grid {
        display: block !important;
        margin: 20px 0;
    }
    
    .mobile-allergen-column {
        float: none !important;
        width: 100% !important;
        margin-bottom: 15px;
    }
    
    .allergen-checkbox-wrapper {
        display: flex;
        align-items: center;
        margin: 8px 0;
        padding: 12px 15px;
        background-color: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 48px;
        user-select: none;
        position: relative;
        z-index: 1;
        width: 100%;
        box-sizing: border-box;
    }
    
    .allergen-checkbox-wrapper:hover {
        background-color: #e9ecef;
        border-color: #007bff;
    }
    
    .allergen-checkbox-wrapper input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        margin: 0 12px 0 0 !important;
        cursor: pointer;
        transform: scale(1.2);
        accent-color: #007bff;
        position: relative !important;
        float: none !important;
        z-index: 2;
    }
    
    .allergen-checkbox-wrapper input[type="checkbox"]:checked + .allergen-label {
        color: #007bff;
        font-weight: 600;
    }
    
    .allergen-checkbox-wrapper.checked {
        background-color: rgba(0, 123, 255, 0.1);
        border-color: #007bff;
    }
    
    .allergen-label {
        flex: 1;
        margin: 0;
        padding: 0;
        cursor: pointer;
        font-size: 14px;
        line-height: 1.4;
        color: #495057;
        font-weight: 500;
    }
    
    /* Checkbox principal de activo */
    .checkbox-touch-wrapper-form {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        background-color: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 56px;
        margin: 15px 0;
        user-select: none;
    }
    
    .checkbox-touch-wrapper-form:hover {
        background-color: #e9ecef;
        border-color: #007bff;
    }
    
    .checkbox-touch-wrapper-form.active {
        background-color: rgba(0, 123, 255, 0.1);
        border-color: #007bff;
    }
    
    .checkbox-touch-wrapper-form input[type="checkbox"] {
        width: 24px !important;
        height: 24px !important;
        margin: 0 15px 0 0 !important;
        cursor: pointer;
        transform: scale(1.3);
        accent-color: #007bff;
    }
    
    .checkbox-touch-wrapper-form .allergen-label {
        font-size: 16px;
        font-weight: 600;
        color: #495057;
    }
    
    .checkbox-touch-wrapper-form.active .allergen-label {
        color: #007bff;
    }
    
    .checkbox-touch-wrapper-form i {
        margin-right: 8px;
        font-size: 16px;
    }
    
    /* Inputs del formulario mejorados */
    .modern-input {
        font-size: 16px !important; /* Prevenir zoom en iOS */
        min-height: 48px;
        padding: 12px 20px 12px 50px;
        border-radius: 8px;
        border: 2px solid #e9ecef;
        transition: border-color 0.15s ease-out; /* Solo transición rápida del borde */
        
        /* Asegurar que el teclado aparezca correctamente */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: white;
        color: #495057;
        line-height: 1.5;
        
        /* Prevenir zoom automático manteniendo funcionalidad */
        touch-action: manipulation;
        user-select: text;
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
    }
    
    .modern-input:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
        outline: none;
        transition: none; /* Eliminar delay en focus para móviles */
    }
    
    /* Eliminar delay de 300ms en móviles */
    .modern-input,
    .modern-input *,
    .checkbox-touch-wrapper,
    .checkbox-touch-wrapper-form,
    .allergen-checkbox-wrapper,
    .btn {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        touch-action: manipulation;
    }
    
    /* Restaurar selección de texto solo para inputs */
    .modern-input {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    .modern-input-icon {
        position: relative;
    }
    
    .modern-input-icon i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
        font-size: 16px;
        z-index: 2;
    }
    
    .modern-form-group {
        margin-bottom: 20px;
    }
    
    .modern-form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #495057;
        font-size: 14px;
    }
    
    /* Mejoras específicas para el formulario */
    .modern-form {
        padding: 20px;
    }
    
    .card-header h3 {
        font-size: 20px;
        margin: 0;
        color: #495057;
    }
    
    /* Separación entre secciones del formulario */
    .allergen-grid {
        margin-bottom: 30px !important;
        clear: both;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    
    .allergen-grid + br {
        display: none; /* Ocultar BR innecesarios */
    }
    
    /* Asegurar separación del campo precio */
    .modern-form-group {
        clear: both;
        margin-top: 25px;
        margin-bottom: 25px;
        position: relative;
        z-index: 10; /* Mayor z-index para campos importantes */
    }
    
    /* Específico para el campo precio después de alérgenos */
    .allergen-grid + br + .modern-form-group {
        margin-top: 35px !important;
        padding-top: 15px;
        border-top: 1px solid #f0f0f0;
        position: relative;
        z-index: 10;
    }
    
    /* Evitar cualquier posicionamiento absoluto problemático */
    .modern-input-icon {
        position: relative;
        z-index: 5;
    }
    
    /* Estados de focus para accesibilidad */
    .allergen-checkbox-wrapper:focus-within {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
    
    .checkbox-touch-wrapper-form:focus-within {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
    
    /* Mejorar la clase checkbox-label */
    .checkbox-label {
        flex: 1;
        margin: 0;
        padding: 0;
        cursor: pointer;
        font-size: 16px;
        line-height: 1.4;
        color: #495057;
        font-weight: 600;
        display: flex;
        align-items: center;
    }
    
    .checkbox-touch-wrapper-form.active .checkbox-label {
        color: #007bff;
    }
    
    .checkbox-label i {
        margin-right: 8px;
        font-size: 16px;
    }
}

/* Mejoras para pantallas muy pequeñas */
@media (max-width: 480px) {
    .col-lg-6 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .modern-form {
        padding: 15px;
        margin: 10px 5px;
    }
    
    .allergen-checkbox-wrapper {
        padding: 10px 12px;
        margin: 6px 0;
    }
    
    .checkbox-touch-wrapper-form {
        padding: 12px 15px;
        min-height: 52px;
    }
    
    .modern-input {
        font-size: 16px !important;
        min-height: 44px;
        padding: 10px 18px 10px 45px!important;
    }
    
    .modern-input-icon i {
        left: 15px;
        font-size: 14px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-header h3 {
        font-size: 18px;
    }
}

/* Animaciones para feedback táctil */
@media (max-width: 768px) {
    .allergen-checkbox-wrapper:active,
    .allergen-checkbox-wrapper.touch-active {
        transform: scale(0.98);
        background-color: #dee2e6;
    }
    
    .checkbox-touch-wrapper-form:active,
    .checkbox-touch-wrapper-form.touch-active {
        transform: scale(0.98);
        background-color: rgba(0, 123, 255, 0.15);
    }
}

/* ============================================
   MEJORAS ESPECÍFICAS PARA FAMILIAS.PHP
   ============================================ */

/* Botones de acción mejorados */
@media (max-width: 768px) {
    .action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 120px;
        min-height: 48px;
        padding: 12px 16px;
        background-color: #007bff;
        color: white !important;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 2px solid #007bff;
        font-size: 14px;
        font-weight: 600;
    }
    
    .action-btn:hover, .action-btn:focus {
        background-color: #0056b3;
        border-color: #0056b3;
        color: white !important;
        transform: scale(1.02);
    }
    
    .action-btn i {
        margin-right: 8px;
        font-size: 16px;
    }
    
    .action-btn .btn-text {
        font-size: 14px;
        font-weight: 600;
    }
    
    /* Botón de vista específico */
    .view-btn {
        background-color: #28a745;
        border-color: #28a745;
    }
    
    .view-btn:hover, .view-btn:focus {
        background-color: #1e7e34;
        border-color: #1e7e34;
        color: white !important;
    }
    
    .view-btn.disabled {
        background-color: #6c757d;
        border-color: #6c757d;
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;
    }
    
    .view-btn.disabled:hover {
        background-color: #6c757d;
        border-color: #6c757d;
        transform: none;
    }
    
    /* Mejorar el botón delete existente para familias */
    .delete-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 110px;
        text-decoration: none;
    }
    
    .delete-btn .btn-text {
        margin-left: 6px;
        font-size: 14px;
        font-weight: 600;
    }
    
    /* Estados de feedback táctil para botones de acción */
    .action-btn:active,
    .action-btn.touch-active {
        transform: scale(0.95);
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3);
    }
    
    .view-btn:active,
    .view-btn.touch-active {
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.3);
    }
    
    /* Ocultar texto en botones para pantallas muy pequeñas */
    @media (max-width: 480px) {
        .action-btn .btn-text,
        .delete-btn .btn-text {
            display: none;
        }
        
        .action-btn,
        .delete-btn {
            min-width: 48px;
            padding: 12px;
        }
    }
}