/* assets/css/event-product.css */
/* Styling for event ticket product pages - matches demo design */

#dets-check-membership-btn, #dets-add-to-cart-btn {
    border: none !important;
    font-family: "Geist", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1em !important;
}
.dets-event-product-container {
    max-width: 900px;
    margin: 0 auto 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Event Header */
.dets-event-header {
    background: linear-gradient(135deg, #13172C 0%, #2d3448 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.dets-event-header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.dets-event-header p {
    font-size: 1.1em;
    opacity: 0.9;
    margin: 0;
}

/* Booking Content */
.dets-booking-content {
    padding: 40px;
}

.dets-section {
    margin-bottom: 40px;
}

.dets-section-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e293b;
    border-bottom: 2px solid #13172C;
    padding-bottom: 10px;
}

/* Membership Check */
.dets-membership-check {
    max-width: 600px;
}

.dets-info-text {
    margin-bottom: 20px;
    color: #13172c;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.dets-membership-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.dets-membership-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1em;
    transition: border 0.2s;
}

.dets-membership-input:focus {
    outline: none;
    border-color: #13172C;
}

.dets-small-text {
    margin-bottom: 20px;
    color: #13172c;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.dets-custom-country {
    background-color: #e3f2fd;
    font-weight: 600;
}

/* Buttons */
.dets-btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Geist", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1em !important;
    padding: 1rem !important;
}

.dets-btn-primary {
    background: linear-gradient(135deg, #13172C 0%, #2d3448 100%);
    color: white !important;
}

.dets-btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(19, 23, 44, 0.3);
}

.dets-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dets-btn-link {
    background: #13172C !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 0;
    border: none !important;
}

.dets-btn-link:hover {
    color: #2d3448;
}

.dets-btn-large {
    width: 100%;
    padding: 18px;
    font-size: 1.2em;
    margin-top: 20px;
}

/* Notices */
.dets-notice {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.dets-notice.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.dets-notice.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.dets-notice.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

/* Form Styling */
.dets-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dets-form-field {
    display: flex;
    flex-direction: column;
}

.dets-form-field.dets-full-width {
    grid-column: 1 / -1;
}

.dets-form-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.95em;
}

.dets-form-field label .dets-required {
    color: #ef4444;
}

.dets-form-field input,
.dets-form-field select {
    font-size: 1em;
    transition: border 0.2s;
    font-family: inherit;
}

.dets-form-field input:focus,
.dets-form-field select:focus {
    outline: none;
    border-color: #13172C;
}

.dets-form-field input:read-only {
    background: #f8f9fa;
    cursor: not-allowed;
}

.dets-form-field small {
    margin-top: 5px;
    color: #64748b;
    font-size: 0.85em;
}

/* Day Selection Table */
.dets-days-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.dets-days-table thead {
    background: #13172C;
}

.dets-days-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dets-days-table tbody tr {
    border-top: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.dets-days-table tbody tr:hover {
    background: #f8fafc;
}

.dets-days-table tbody tr.selected {
    background: #eff6ff;
}

.dets-days-table td {
    padding: 15px;
}

.dets-day-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #13172C;
}

.dets-day-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05em;
}

.dets-day-date {
    color: #64748b;
    font-size: 0.95em;
}

.dets-day-price {
    font-weight: 700;
    color: #28a745;
    font-size: 1.2em;
    text-align: right;
}

/* Selection Summary */
.dets-selection-summary {
    background: #f0f9ff;
    border: 2px solid #13172C;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.dets-selection-summary h3 {
    font-size: 1.1em;
    margin: 0 0 15px 0;
    color: #13172C;
}

.dets-selection-summary .dets-total {
    font-size: 1.5em;
    font-weight: 700;
    color: #13172C;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #13172C;
}

#dets-selected-days-list > div {
    padding: 8px 0;
    border-bottom: 1px solid rgba(19, 23, 44, 0.1);
}

#dets-selected-days-list > div:last-child {
    border-bottom: none;
}

/* Simple Product */
.dets-simple-product {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.dets-simple-price {
    font-size: 1.5em;
    font-weight: 700;
    color: #28a745;
    margin-top: 15px;
}

/* Utility Classes */
.dets-hidden {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dets-event-header {
        padding: 30px 20px;
    }

    .dets-event-header h1 {
        font-size: 1.8em;
    }

    .dets-booking-content {
        padding: 20px;
    }

    .dets-form-grid {
        grid-template-columns: 1fr;
    }

    .dets-membership-input-group {
        flex-direction: column;
    }

    .dets-days-table {
        font-size: 0.9em;
    }

    .dets-days-table th,
    .dets-days-table td {
        padding: 10px 8px;
    }

    .dets-day-name {
        font-size: 1em;
    }

    .dets-day-price {
        font-size: 1em;
    }
}
