.tac-attendee-wrapper {
    margin-top: 2em;
    padding: 1.5em;
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    background: linear-gradient(135deg, #f9fbff 0%, #eef2ff 100%);
    box-shadow: 0 14px 30px rgba(31, 41, 55, 0.08);
}

.tac-attendee-wrapper .tac-title {
    margin: 0 0 1.2em;
    font-size: 1.25em;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.tac-attendee-wrapper .tac-title::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.tac-attendee-list {
    display: grid;
    gap: 1.2em;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tac-attendee-card {
    padding: 1.3em 1.4em;
    border: 1px solid #dbe4f3;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tac-attendee-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(14, 116, 144, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tac-attendee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(30, 64, 175, 0.14);
}

.tac-attendee-card:hover::after {
    opacity: 1;
}

.tac-attendee-card .tac-attendee-header {
    margin: 0 0 1em;
    font-weight: 600;
    color: #1f2937;
    font-size: 1.05em;
}

.tac-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
    margin-bottom: 1em;
}

.tac-field-group label {
    font-size: 0.9em;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tac-field-group input,
.tac-field-group select {
    width: 100%;
    padding: 0.6em 0.75em;
    border: 1px solid #cbd5f5;
    border-radius: 8px;
    background-color: #fdfdff;
    color: #111827;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.tac-field-group input:focus,
.tac-field-group select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    outline: none;
    background-color: #fff;
}

.tac-text-error {
    margin-top: 0.3em;
    color: #dc2626;
    font-size: 0.85em;
    font-weight: 500;
}

.tac-no-attendees {
    margin: 0.75em 0 0;
    color: #475569;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.tac-no-attendees::before {
    content: 'ℹ️';
    font-size: 1em;
}

.tac-inline-qty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35em;
    margin: 0 0 0.6em;
}

.tac-inline-qty .quantity {
    margin: 0;
}

.tac-inline-qty .qty {
    padding: 0.45em 0.6em;
    border-radius: 8px;
    border: 1px solid #cbd5f5;
    min-width: 4rem;
    text-align: center;
}

.tac-inline-qty label {
    margin: 0;
    font-size: 0.9em;
    font-weight: 600;
    color: #475569;
}

.tac-variation-has-qty {
    display: block;
}

.tac-variation-has-qty select {
    width: 100%;
}

.tac-variation-has-qty .reset_variations {
    font-size: 0.85em;
}

.tac-variation-attendees-container {
    padding-top: 1em;
}

.tac-order-attendees {
    margin-top: 0.75em;
    display: grid;
    gap: 0.75em;
}

.tac-order-attendee-card {
    padding: 0.9em 1em;
    border: 1px solid #dbe4f3;
    border-radius: 10px;
    background: #f8faff;
}

.tac-order-attendee-title {
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

.tac-order-attendee-list {
    margin: 0;
    padding-left: 1.1em;
    color: #1f2937;
    font-size: 0.95em;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .tac-attendee-wrapper {
        padding: 1.1em;
    }

    .tac-attendee-list {
        grid-template-columns: 1fr;
    }

    .tac-inline-qty {
        gap: 0.4em;
    }

    .tac-inline-qty .quantity {
        width: 100%;
    }

    .tac-inline-qty .qty {
        width: 100%;
        min-width: 0;
    }
}
.tac-checkout-section {
    margin-top: 2em;
    padding: 1.5em;
    border: 1px solid #dbe4f3;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.12);
}

.tac-checkout-section h3 {
    margin-top: 0;
    margin-bottom: 1.2em;
    font-size: 1.35em;
    font-weight: 600;
    color: #1f2937;
}

.tac-checkout-product {
    margin: 1.2em 0 0.8em;
    font-size: 1.05em;
    font-weight: 600;
    color: #1d4ed8;
}

.tac-checkout-attendee-card {
    padding: 1.1em 1.2em;
    border: 1px solid #cbd5f5;
    border-radius: 12px;
    background-color: #fff;
    margin-bottom: 1em;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.tac-checkout-attendee-header {
    font-size: 1.05em;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 0.9em;
}

.tac-checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
    margin-bottom: 0.85em;
}

.tac-checkout-field label {
    font-size: 0.9em;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tac-checkout-field input,
.tac-checkout-field select {
    padding: 0.6em 0.75em;
    border: 1px solid #cbd5f5;
    border-radius: 8px;
    background-color: #f9fbff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tac-checkout-field input:focus,
.tac-checkout-field select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    outline: none;
    background-color: #fff;
}

.tac-checkout-field input.tac-field-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
    background-color: #fff5f5;
}
