/* 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: 25px;
    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;
    }
}