/*
Theme Name: SocialBoost
Theme URI: https://ejemplo.com
Author: Tu Nombre
Author URI: https://ejemplo.com
Description: Tema especializado para la venta de servicios de redes sociales
Version: 1.0
Text Domain: socialboost
*/

/* Estilos generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f8fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header reorganizado */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Header profesional con gradiente y efectos */
.header {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: white;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo a {
    text-decoration: none;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.multicolor-text {
    background: linear-gradient(90deg, #ff8a00, #e52e71, #5e50ff, #00b4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 5s ease infinite;
    background-size: 300% 300%;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: -3px;
    font-weight: 300;
}

.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-navigation .nav-menu li {
    position: relative;
}

.main-navigation .nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 5px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation .nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    transition: width 0.3s ease;
}

.main-navigation .nav-menu a:hover:after {
    width: 100%;
}

/* Ajustes para los botones de usuario */
.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: auto;
}

.wallet-container:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.wallet-icon {
    margin-right: 6px;
    display: flex;
    align-items: center;
}

.wallet-icon svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.wallet-balance {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.user-actions a {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.register-btn {
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    box-shadow: 0 4px 15px rgba(229, 46, 113, 0.3);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 46, 113, 0.4);
}

.logout-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Contenido principal */
.main-content {
    min-height: calc(100vh - 150px);
    padding: 20px 0;
}

/* Menú móvil - botón de cerrar */
.mobile-menu-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

/* Menú móvil */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Estilos responsivos mejorados */
@media (max-width: 992px) {
    .header-content {
        flex-direction: row;
        text-align: left;
        gap: 0;
    }
    
    .header-left {
        justify-content: space-between;
        width: 100%;
    }
    
    .logo-container {
        align-items: flex-start;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        background: linear-gradient(135deg, #1a2a6c, #b21f1f);
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 60px 20px 20px;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .mobile-menu-close {
        display: block;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 0;
        margin-top: 20px;
    }
    
    .main-navigation .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .main-navigation .nav-menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }
    
    .header-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .user-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .wallet-container, .user-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .main-navigation {
        width: 100%;
    }
}

/* Para mostrar los botones de usuario en desktop pero ocultar en móvil */
@media (min-width: 993px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Asegurar que el contenido no se desplace cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Resto de estilos (se mantienen igual) */
.socialboost-order-form {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background: #6e8efb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 10px;
    transition: background 0.3s;
}

button:hover {
    background: #5a7de4;
}

button.prev-step {
    background: #95a5a6;
}

button.prev-step:hover {
    background: #7f8c8d;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
}

.cost-calculation {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.order-summary p {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.success-message {
    background: 'd4edda';
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav li {
    margin: 0 10px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Estilos para WooCommerce */
.woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.woocommerce-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}