/* Event Wallet Passes - Premium Frontend Styles */

.ewp-wallet-buttons-section {
    background: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 35px;
    margin: 45px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

.ewp-section-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 800;
    color: #000000 !important;
    /* Force black for maximum legibility */
    letter-spacing: -0.02em;
}

.ewp-section-desc {
    margin-bottom: 30px;
    color: #333333 !important;
    /* Darker gray */
    font-size: 16px;
    line-height: 1.6;
}

.ewp-wallet-item {
    margin-bottom: 35px;
}

.ewp-wallet-item:last-child {
    margin-bottom: 0;
}

.ewp-wallet-item-title {
    margin: 0 0 18px 0;
    font-size: 19px;
    font-weight: 700;
    color: #222222 !important;
    padding-bottom: 10px;
    border-bottom: 3px solid #e8e8e8;
    display: inline-block;
}

.ewp-wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 15px;
}

.ewp-wallet-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ewp-wallet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: #bbbbbb;
}

.ewp-wallet-card-header {
    font-weight: 700;
    font-size: 16px;
    color: #000000 !important;
    /* Force black */
    margin-bottom: 20px;
    word-break: break-all;
}

.ewp-wallet-card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ewp-wallet-button {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
    text-decoration: none;
}

.ewp-wallet-button:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.ewp-wallet-badge {
    display: block;
    height: 40px;
    width: auto;
    border-radius: 6px;
}

/* Single Ticket Support */
.ewp-single-ticket-wallet {
    margin: 20px 0;
}

.ewp-single-ticket-wallet .ewp-wallet-item {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* Email styles overrides (some clients strip classes, but kept for reference) */
.ewp-email-container {
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .ewp-wallet-grid {
        grid-template-columns: 1fr;
    }

    .ewp-wallet-card-buttons {
        justify-content: center;
    }

    .ewp-wallet-button {
        width: 100%;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }
}