/* ===================================
   💪 GYM THEME - ENERGETIC & STRONG
   =================================== */

.gym-theme {
    --gym-primary: #4CAF50;
    --gym-secondary: #2E8B57;
    --gym-accent: #FFD700;
    --gym-dark: #1B5E20;
    --gym-light: #C8E6C9;
    --gym-gradient: linear-gradient(135deg, #4CAF50 0%, #2E8B57 100%);
    --gym-accent-gradient: linear-gradient(135deg, #FFD700 0%, #FFA726 100%);
    color: #333; /* Color base para todo el tema */
}

/* ARREGLO ESPECÍFICO PARA FONDOS BLANCOS */
.gym-theme [style*="background: white"],
.gym-theme [style*="background:white"],
.demo-container {
    color: #333 !important;
}

/* HEADER ESPECÍFICO GYM */
.gym-theme .main-header {
    background: linear-gradient(135deg, #4CAF50 0%, #2E8B57 100%);
    position: relative;
    overflow: hidden;
}

.gym-theme .main-header::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"><defs><pattern id="gym-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23gym-pattern)"/></svg>');
    opacity: 0.3;
}

/* SECTOR BADGE */
.gym-theme .sector-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* HERO TITLE */
.gym-theme .hero-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 800;
}

/* FEATURES GRID */
.gym-theme .hero-features .feature {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.gym-theme .hero-features .feature:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* PRICING */
.gym-theme .price-big {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 900;
}

.gym-theme .savings {
    background: linear-gradient(135deg, #FFD700 0%, #FFA726 100%);
    color: #1B5E20;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 700;
}

/* BUTTONS */
.gym-theme .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA726 100%);
    color: #1B5E20;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.gym-theme .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFA726 0%, #FF9800 100%);
}

.gym-theme .btn-outline {
    border: 2px solid #4CAF50;
    color: #4CAF50;
    background: transparent;
    font-weight: 600;
}

.gym-theme .btn-outline:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

/* GENERATOR ESPECÍFICO GYM */
.gym-theme .generator-container {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f8e8 100%);
}

.gym-theme .step.active {
    background: linear-gradient(135deg, #4CAF50 0%, #2E8B57 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.gym-theme .step {
    background: #e8f8e8;
    color: #2E8B57;
    border: 1px solid #C8E6C9;
}

/* FORM ELEMENTS */
.gym-theme .form-group input:focus,
.gym-theme .form-group textarea:focus,
.gym-theme .form-group select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.gym-theme .form-group.required label::after {
    color: #FF5722;
}

.gym-theme .form-group.error input,
.gym-theme .form-group.error textarea {
    border-color: #FF5722;
    background: rgba(255, 87, 34, 0.05);
}

/* CUSTOMIZATION SECTION */
.gym-theme .customization-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #C8E6C9;
    backdrop-filter: blur(10px);
}

.gym-theme .customization-section h4 {
    color: #2E8B57;
    border-bottom: 2px solid #C8E6C9;
    padding-bottom: 10px;
}

/* COLOR PICKERS */
.gym-theme .color-picker input[type="color"] {
    border: 3px solid #4CAF50;
    transition: all 0.3s ease;
}

.gym-theme .color-picker input[type="color"]:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* PREVIEW SECTION */
.gym-theme .preview-section {
    background: linear-gradient(135deg, #e8f8e8 0%, #c8e6c9 100%);
    border: 2px solid #4CAF50;
}

.gym-theme .preview-container {
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.2);
}

/* PRICING SUMMARY */
.gym-theme .pricing-summary {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #C8E6C9;
    border-radius: 15px;
}

.gym-theme .price-breakdown .price-item.total {
    background: linear-gradient(135deg, #4CAF50 0%, #2E8B57 100%);
    color: white;
    border-radius: 10px;
    padding: 15px;
}

.gym-theme .addon-section {
    background: #f8fff8;
    border: 2px dashed #4CAF50;
    border-radius: 15px;
}

.gym-theme .addon-option:hover {
    background: rgba(76, 175, 80, 0.05);
    transform: translateY(-2px);
}

/* PAYMENT BUTTON */
.gym-theme .btn-payment {
    background: linear-gradient(135deg, #4CAF50 0%, #2E8B57 100%);
    color: white;
    font-size: 1.3rem;
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.gym-theme .btn-payment:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, #2E8B57 0%, #1B5E20 100%);
}

.gym-theme .btn-payment:disabled {
    background: #A5D6A7;
    transform: none;
    box-shadow: none;
}

/* WORKBOT PREVIEW ESPECÍFICO GYM */
.gym-theme .workbot-preview .workbot-header {
    background: linear-gradient(135deg, #4CAF50 0%, #2E8B57 100%);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.gym-theme .workbot-preview .preview-message {
    border-left: 3px solid #4CAF50;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.gym-theme .workbot-input button {
    background: linear-gradient(135deg, #4CAF50 0%, #2E8B57 100%);
    font-weight: 600;
}

/* SECTOR CARD EN LANDING */
.gym-theme .sector-card.gym {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f8e8 100%);
    border: 2px solid #C8E6C9;
    transition: all 0.3s ease;
}

.gym-theme .sector-card.gym:hover {
    transform: translateY(-8px);
    border-color: #4CAF50;
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.2);
    background: linear-gradient(135deg, #e8f8e8 0%, #c8e6c9 100%);
}

.gym-theme .sector-card.gym .sector-icon {
    font-size: 3rem;
    filter: drop-shadow(2px 2px 4px rgba(76, 175, 80, 0.3));
}

.gym-theme .sector-card.gym h3 {
    color: #2E8B57;
    font-weight: 700;
}

.gym-theme .sector-card.gym .sector-features span {
    background: rgba(76, 175, 80, 0.1);
    color: #1B5E20;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

/* NOTIFICATIONS ESPECÍFICAS */
.gym-theme .notification.success {
    background: linear-gradient(135deg, #4CAF50 0%, #2E8B57 100%);
    border-left: 4px solid #FFD700;
}

/* LOADING ESPECÍFICO GYM */
.gym-theme .spinner {
    border-top-color: #4CAF50;
    border-right-color: #2E8B57;
}

/* MOBILE ESPECÍFICO GYM */
@media (max-width: 768px) {
    .gym-theme .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .gym-theme .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gym-theme .btn-payment {
        font-size: 1.1rem;
        padding: 16px 32px;
    }
    
    .gym-theme .price-big {
        font-size: 3rem;
    }
}

/* ANIMACIONES ESPECÍFICAS GYM */
@keyframes gymPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5); 
    }
}

.gym-theme .btn-primary.pulse {
    animation: gymPulse 2s infinite;
}

/* STRENGTH INDICATORS */
.gym-theme .strength-indicator {
    background: linear-gradient(90deg, #FFD700 0%, #4CAF50 50%, #2E8B57 100%);
    height: 4px;
    border-radius: 2px;
    margin: 10px 0;
}

.gym-theme .energy-bar {
    background: linear-gradient(135deg, #4CAF50 0%, #FFD700 100%);
    height: 6px;
    border-radius: 3px;
    width: 100%;
    animation: energyFlow 3s ease-in-out infinite alternate;
}

@keyframes energyFlow {
    0% { 
        background: linear-gradient(135deg, #4CAF50 0%, #FFD700 100%);
        transform: scaleX(0.8);
    }
    100% { 
        background: linear-gradient(135deg, #FFD700 0%, #4CAF50 100%);
        transform: scaleX(1);
    }
}
