/**
 * Gestor de Eventos - My Account Dashboard Theme
 * Brand Colors:
 * - Primary Dark: #180226
 * - Accent Blue: #0094ff
 * - Clean White: #ffffff
 * Font: Plus Jakarta Sans
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Global Account Scope ──────────────────────────────────────────────────── */
.woocommerce-account,
.woocommerce-account body,
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce * {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    box-sizing: border-box;
}

/* ── Page Header / Entry Title ─────────────────────────────────────────────── */
.woocommerce-account h1.entry-title,
.woocommerce-account h1.page-title,
.woocommerce-account .page-header h1,
.woocommerce-account .elementor-heading-title {
    color: #180226 !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
    letter-spacing: -0.03em !important;
    margin: 20px 0 25px 0 !important;
    position: relative !important;
    display: inline-block !important;
}

.woocommerce-account h1.entry-title::after,
.woocommerce-account h1.page-title::after {
    content: '' !important;
    display: block !important;
    width: 48px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #180226 0%, #0094ff 100%) !important;
    border-radius: 2px !important;
    margin-top: 8px !important;
}

/* ── Main Layout: Modern 2-Column Grid (Clears all floats) ─────────────────── */
.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 290px minmax(0, 1fr) !important;
    gap: 32px !important;
    align-items: start !important;
    max-width: 1320px !important;
    margin: 20px auto 50px auto !important;
    padding: 0 15px !important;
    float: none !important;
    clear: both !important;
}

/* Fallback for account views without sidebar navigation (such as lost password or login) */
.woocommerce-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)),
.woocommerce-account:not(.logged-in) .woocommerce {
    display: block !important;
    max-width: 620px !important;
    margin: 30px auto 60px auto !important;
}

.woocommerce-ResetPassword {
    background: #ffffff !important;
    padding: 35px 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    border: 1px solid #eaeaea !important;
}

.woocommerce-ResetPassword .woocommerce-form-row {
    margin-bottom: 20px !important;
}

.woocommerce-ResetPassword .input-text {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
}

.woocommerce-ResetPassword button[type="submit"] {
    width: 100% !important;
    background: #007cba !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.woocommerce-ResetPassword button[type="submit"]:hover {
    background: #006ba1 !important;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
    display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* ── Navigation Sidebar Card ──────────────────────────────────────────────── */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px -5px rgba(24, 2, 38, 0.07) !important;
    overflow: hidden !important;
    position: sticky !important;
    top: 24px !important;
    z-index: 10 !important;
}

/* Decorative top gradient accent */
.woocommerce-account .woocommerce-MyAccount-navigation::before {
    content: 'Panel de Usuario' !important;
    display: flex !important;
    align-items: center !important;
    height: 48px !important;
    padding: 0 20px !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #180226 0%, #2f0747 100%) !important;
    border-bottom: 2px solid #0094ff !important;
}

/* Reset default unstyled list completely */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li::before,
.woocommerce-account .woocommerce-MyAccount-navigation ul li::marker {
    display: none !important;
    content: none !important;
}

/* Nav Item Links */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    position: relative !important;
}

/* Nav Item Icons via Mask (inherits currentColor automatically) */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
    content: '' !important;
    display: inline-block !important;
    width: 19px !important;
    height: 19px !important;
    background-color: currentColor !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

/* Specific SVG Icons */
/* 1. Dashboard */
.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") !important;
}

/* 2. Mis Eventos */
.woocommerce-account .woocommerce-MyAccount-navigation-link--ge-mis-eventos a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2z'/%3E%3C/svg%3E") !important;
}

/* 3. Escanear Entradas QR */
.woocommerce-account .woocommerce-MyAccount-navigation-link--ge-lector-qr a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='5' height='5'/%3E%3Crect x='16' y='3' width='5' height='5'/%3E%3Crect x='3' y='16' width='5' height='5'/%3E%3Cpath d='M21 16h-3a2 2 0 0 0-2 2v3'/%3E%3Cpath d='M21 21v.01'/%3E%3Cpath d='M12 7v3a2 2 0 0 1-2 2H7'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M12 3h.01'/%3E%3Cpath d='M12 16v.01'/%3E%3Cpath d='M16 12h1'/%3E%3Cpath d='M21 12v.01'/%3E%3Cpath d='M12 21v-1'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='5' height='5'/%3E%3Crect x='16' y='3' width='5' height='5'/%3E%3Crect x='3' y='16' width='5' height='5'/%3E%3Cpath d='M21 16h-3a2 2 0 0 0-2 2v3'/%3E%3Cpath d='M21 21v.01'/%3E%3Cpath d='M12 7v3a2 2 0 0 1-2 2H7'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M12 3h.01'/%3E%3Cpath d='M12 16v.01'/%3E%3Cpath d='M16 12h1'/%3E%3Cpath d='M21 12v.01'/%3E%3Cpath d='M12 21v-1'/%3E%3C/svg%3E") !important;
}

/* 4. Pedidos */
.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") !important;
}

/* 5. Descargas */
.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") !important;
}

/* 6. Direcciones (Oculto - no necesario para venta de entradas) */
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address,
.woocommerce-account a[href*="edit-address"] {
    display: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") !important;
}

/* 7. Detalles de la cuenta */
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
}

/* 8. Salir (Logout) */
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") !important;
}

/* Hover States */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(0, 148, 255, 0.08) !important;
    color: #0094ff !important;
    transform: translateX(3px) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover::before {
    transform: scale(1.1) !important;
}

/* Active State: Vibrant Dark Gradient with Electric Blue Accent */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #180226 0%, #290540 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(24, 2, 38, 0.22) !important;
    border-left: 4px solid #0094ff !important;
    padding-left: 12px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a::before {
    background-color: #0094ff !important;
}

/* Logout link special styling */
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 8px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #ef4444 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

/* ── Content Card Wrapper ─────────────────────────────────────────────────── */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px -5px rgba(24, 2, 38, 0.05) !important;
    padding: 32px !important;
    min-height: 480px !important;
}

/* ── Dashboard Welcome Card & Paragraphs ───────────────────────────────────── */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
    background: linear-gradient(135deg, #180226 0%, #2b0542 60%, #180226 100%) !important;
    color: #ffffff !important;
    padding: 24px 28px !important;
    border-radius: 14px !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    box-shadow: 0 10px 25px -5px rgba(24, 2, 38, 0.28) !important;
    border: 1px solid rgba(0, 148, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type strong {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(0, 148, 255, 0.2) !important;
    color: #0094ff !important;
    border: 1px solid rgba(0, 148, 255, 0.4) !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type a:hover {
    background: #0094ff !important;
    color: #ffffff !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
    color: #64748b !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 26px !important;
    padding: 0 4px !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) a {
    color: #0094ff !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) a:hover {
    color: #180226 !important;
}

/* ── Enhanced Dashboard Quick Navigation Grid ──────────────────────────────── */
.ge-dashboard-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 18px !important;
    margin-top: 25px !important;
}

.ge-dash-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.ge-dash-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: transparent !important;
    transition: background 0.2s ease !important;
}

.ge-dash-card:hover {
    background: #ffffff !important;
    border-color: rgba(0, 148, 255, 0.35) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px -5px rgba(24, 2, 38, 0.08) !important;
}

.ge-dash-card:hover::before {
    background: linear-gradient(90deg, #180226, #0094ff) !important;
}

.ge-dash-card-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    background: rgba(0, 148, 255, 0.1) !important;
    color: #0094ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    transition: all 0.2s ease !important;
}

.ge-dash-card:hover .ge-dash-card-icon {
    background: #0094ff !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
}

.ge-dash-card-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #180226 !important;
    margin: 0 0 6px 0 !important;
}

.ge-dash-card-desc {
    font-size: 0.85rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 14px 0 !important;
    flex: 1 !important;
}

.ge-dash-card-link {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #0094ff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.ge-dash-card:hover .ge-dash-card-link {
    color: #180226 !important;
}

/* ── WooCommerce Orders Table & Other Tables ──────────────────────────────── */
.woocommerce-account table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 15px 0 25px 0 !important;
}

.woocommerce-account table.shop_table thead th {
    background: #180226 !important;
    color: #ffffff !important;
    padding: 14px 18px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
}

.woocommerce-account table.shop_table tbody td {
    padding: 14px 18px !important;
    font-size: 0.92rem !important;
    color: #334155 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: none !important;
    vertical-align: middle !important;
}

.woocommerce-account table.shop_table tbody tr:hover td {
    background: #f8fafc !important;
}

/* Status Badges */
.woocommerce-orders-table__cell-order-status {
    font-weight: 700 !important;
}

/* Action Buttons in Orders */
.woocommerce-account table.shop_table .button,
.woocommerce-account table.shop_table a.button {
    background: #0094ff !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account table.shop_table .button:hover,
.woocommerce-account table.shop_table a.button:hover {
    background: #0077cc !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 148, 255, 0.3) !important;
}

/* ── Forms and Inputs (Edit Account, Address, etc.) ────────────────────────── */
.woocommerce-account form .form-row {
    margin-bottom: 18px !important;
}

.woocommerce-account form .form-row label {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #180226 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-account form input.input-text,
.woocommerce-account form select,
.woocommerce-account form textarea {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 0.92rem !important;
    color: #0f172a !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account form input.input-text:focus,
.woocommerce-account form select:focus,
.woocommerce-account form textarea:focus {
    border-color: #0094ff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 148, 255, 0.18) !important;
}

/* Primary Form Buttons */
.woocommerce-account button.button,
.woocommerce-account input.button,
.woocommerce-account .woocommerce-EditAccountForm button.button {
    background: #180226 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
    padding: 12px 26px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    box-shadow: 0 4px 14px rgba(24, 2, 38, 0.15) !important;
}

.woocommerce-account button.button:hover,
.woocommerce-account input.button:hover,
.woocommerce-account .woocommerce-EditAccountForm button.button:hover {
    background: #0094ff !important;
    box-shadow: 0 6px 18px rgba(0, 148, 255, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* ── Addresses Section ────────────────────────────────────────────────────── */
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .woocommerce-Address {
    display: none !important;
}

.woocommerce-account .woocommerce-Address {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 22px !important;
}

.woocommerce-account .woocommerce-Address .title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 10px !important;
}

.woocommerce-account .woocommerce-Address .title h3 {
    margin: 0 !important;
    font-size: 1.05rem !important;
    color: #180226 !important;
    font-weight: 700 !important;
}

.woocommerce-account .woocommerce-Address .edit {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #0094ff !important;
    text-decoration: none !important;
}

.woocommerce-account .woocommerce-Address .edit:hover {
    text-decoration: underline !important;
}

.woocommerce-account .woocommerce-Address address {
    font-style: normal !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    font-size: 0.9rem !important;
}

/* ── WooCommerce Notices & Alerts ─────────────────────────────────────────── */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 0.92rem !important;
    margin-bottom: 24px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-account .woocommerce-message {
    background: #f0fdf4 !important;
    border-left: 5px solid #16a34a !important;
    color: #15803d !important;
}

.woocommerce-account .woocommerce-info {
    background: #f0f9ff !important;
    border-left: 5px solid #0094ff !important;
    color: #0369a1 !important;
}

.woocommerce-account .woocommerce-error {
    background: #fef2f2 !important;
    border-left: 5px solid #ef4444 !important;
    color: #b91c1c !important;
}

/* ── Responsive Mobile Optimizations ──────────────────────────────────────── */
@media (max-width: 960px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 10px !important;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        position: static !important;
        border-radius: 14px !important;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px !important;
        border-radius: 14px !important;
    }

    .ge-dashboard-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Brand Styling Overrides for Mis Eventos & Event Forms ─────────────────── */
.woocommerce-account .ge-event-card {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px -5px rgba(24, 2, 38, 0.06) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.woocommerce-account .ge-event-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px -8px rgba(24, 2, 38, 0.12) !important;
    border-color: rgba(0, 148, 255, 0.3) !important;
}

.woocommerce-account .button-primary,
.woocommerce-account .ge-btn-primary {
    background: linear-gradient(135deg, #180226 0%, #2e0847 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(24, 2, 38, 0.18) !important;
    transition: all 0.22s ease !important;
}

.woocommerce-account .button-primary:hover,
.woocommerce-account .ge-btn-primary:hover {
    background: #0094ff !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(0, 148, 255, 0.35) !important;
}

.woocommerce-account .ge-fe-card {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(24, 2, 38, 0.04) !important;
}

.woocommerce-account .ge-fe-card-title {
    color: #180226 !important;
    font-weight: 800 !important;
}

.woocommerce-account .ge-fe-input:focus {
    border-color: #0094ff !important;
    box-shadow: 0 0 0 3px rgba(0, 148, 255, 0.18) !important;
}

.woocommerce-account .ge-fe-toggle-card.active {
    border-color: #0094ff !important;
    background: rgba(0, 148, 255, 0.05) !important;
}

.woocommerce-account .ge-fe-chip-label.active {
    background: #180226 !important;
    border-color: #180226 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(24, 2, 38, 0.22) !important;
}

.woocommerce-account .ge-fe-chip-label.active .ge-fe-chip-icon {
    stroke: #0094ff !important;
}

.woocommerce-account .ge-btn-chip-quick:hover {
    background: rgba(0, 148, 255, 0.1) !important;
    border-color: #0094ff !important;
    color: #0094ff !important;
}
