/* Ticket Card Styles - Modern Design */

.etm-ticket-card {
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.etm-ticket-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #d0d0d0;
}

/* Top Section */
.etm-ticket-top {
    padding: 24px;
    background: #ffffff;
}

.etm-ticket-top > div {
    padding: 0;
}

.etm-ticket-top > div:first-child {
    padding-top: 0;
}

.etm-ticket-top > div:last-child {
    padding-bottom: 0;
}

/* Ticket Title */
.etm-ticket-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
    word-break: break-word;
}

/* Ticket Image */
.etm-ticket-image {
    margin: 16px 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.etm-ticket-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.etm-ticket-card:hover .etm-ticket-img {
    transform: scale(1.05);
}

/* Ticket Description */
.etm-ticket-description {
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
    margin: 12px 0 16px 0;
    word-break: break-word;
}

/* Details Section */
.etm-ticket-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 16px;
    padding-top: 16px;
    gap: 12px;
}

.etm-ticket-event {
    flex: 1;
}

.etm-ticket-date {
    font-size: 12px;
    color: #888888;
    margin: 0 0 6px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.etm-ticket-location {
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0;
}

/* Price Section */
.etm-ticket-price-section {
    text-align: center;
    flex-shrink: 0;
    flex: 1;
}

.etm-ticket-price-label {
    font-size: 10px;
    color: #999999;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.etm-ticket-price {
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.etm-ticket-vat {
    font-size: 12px;
    font-weight: 500;
    color: #666666;
}

/* Bottom Section */
.etm-ticket-bottom {
    padding: 20px 24px;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 56px;
}

/* Quantity Selector */
.etm-ticket-quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.etm-ticket-quantity-selector label {
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    margin: 0;
    white-space: nowrap;
}

.etm-quantity-select {
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.etm-quantity-select:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

.etm-quantity-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button */
.etm-ticket-button {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    background-color: #2563eb;
    padding: 10px 24px;
    line-height: 1.5;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.etm-ticket-button:hover {
    background-color: #1d4ed8;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.etm-ticket-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.etm-ticket-button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.etm-ticket-button.etm-button-success {
    background-color: #10b981;
}

/* Responsive */
@media (max-width: 768px) {
    .etm-ticket-card {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .etm-ticket-card {
        width: 100%;
        border-radius: 10px;
    }

    .etm-ticket-top {
        padding: 20px;
    }

    .etm-ticket-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .etm-ticket-price {
        font-size: 24px;
    }

    .etm-ticket-bottom {
        padding: 16px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .etm-ticket-quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    .etm-ticket-button {
        font-size: 13px;
        padding: 9px 24px;
        width: 100%;
        text-align: center;
    }
}
