/* =========================================
   Padel Bargeres - Additional Styles
   Extends tennis-winter-unified.css
   ========================================= */

/* Accordion styles (needed for padel info section) */
.tw-info-accordions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tw-accordion {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.tw-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tw-accordion-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tw-accordion-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tw-accordion-title {
    flex: 1;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.tw-accordion-arrow {
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
}

.tw-accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    padding: 0 1.25rem;
}

.tw-accordion-content[style*="max-height"] {
    padding-bottom: 1.25rem;
}

.tw-accordion-panel {
    display: none;
}

.tw-accordion-panel[style*="display: block"] {
    display: block;
}

/* Price highlight (same as tennis) */
.tw-price-highlight {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tw-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tw-brand-orange, #FF6B00);
    display: block;
}

.tw-price-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

/* Price table (same as tennis) */
.tw-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.tw-price-table td {
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
}

.tw-price-table td:first-child {
    border-radius: 8px 0 0 8px;
}

.tw-price-table td:last-child {
    border-radius: 0 8px 8px 0;
    text-align: right;
    font-weight: 600;
    color: var(--tw-brand-orange, #FF6B00);
}

.tw-price-table tr:hover td {
    background: rgba(255, 255, 255, 0.06);
}

.tw-price-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

/* Team grid (same as tennis) */
.tw-team-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tw-team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.tw-team-member:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tw-team-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}

.tw-team-info {
    flex: 1;
    min-width: 0;
}

.tw-team-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.15rem 0;
}

.tw-team-role {
    font-size: 0.75rem;
    color: var(--tw-brand-orange, #FF6B00);
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.tw-team-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

.tw-team-expand {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.tw-team-member:hover .tw-team-expand {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .tw-accordion-toggle {
        padding: 0.75rem 1rem;
    }

    .tw-accordion-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .tw-accordion-title {
        font-size: 0.9rem;
    }

    .tw-accordion-content {
        padding: 0 0.75rem;
    }

    .tw-price-amount {
        font-size: 2rem;
    }

    .tw-team-photo {
        width: 44px;
        height: 44px;
    }

    .tw-team-info h5 {
        font-size: 0.85rem;
    }

    .tw-team-info p {
        font-size: 0.75rem;
    }
}
