/* Note: variables.css and components.css are loaded in show.blade.php */

/* Listing Detail Page Styles */

.listing-detail {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 30px;
    background-color: var(--color-bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Status Message Container */
.status-message-container {
    text-align: center;
    padding: 60px 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-message {
    font-size: 24px;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin-bottom: 40px;
}

/* Event Image */
.event-image-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 30px;
    text-align: center;
}

.event-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-sm);
}

/* Event Info Section */
.event-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}

.event-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Info Rows */
.info-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.info-label {
    flex: 0 0 150px;
    font-weight: bold;
    color: var(--color-text-secondary);
    padding-right: 20px;
}

.info-value {
    flex: 1;
    color: var(--color-text-primary);
}

.remarks-text {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Sections */
.remarks-section,
.ticket-info,
.delivery-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--color-bg-secondary);
    border-radius: var(--border-radius-sm);
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table td {
    padding: 10px 0;
}

.price-label {
    text-align: left;
    color: var(--color-text-primary);
    font-weight: normal;
}

.price-value {
    text-align: right;
    color: var(--color-text-primary);
    font-weight: normal;
    white-space: nowrap;
}

.price-detail td {
    padding: 5px 0 10px 20px;
    font-size: 14px;
    color: var(--color-text-secondary);
    word-break: break-word;
    line-height: 1.4;
}

.price-sublabel {
    text-align: left;
}

.price-subitem {
    white-space: nowrap;
}

.divider-row td {
    padding: 5px 0;
}

.price-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0;
}

.total-row .total-label {
    font-weight: bold;
    font-size: 18px;
}

.total-row .total-value {
    font-weight: bold;
    font-size: 20px;
    color: var(--color-danger);
}

/* Action Buttons */
.action-buttons {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Button customizations - using shared component styles */
.btn {
    min-width: 150px;
    font-weight: bold;
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .listing-detail {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .listing-detail {
        padding: 20px;
        border-radius: var(--border-radius);
        margin: 10px;
    }
    
    .event-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .info-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .info-row {
        flex-direction: column;
        margin-bottom: 12px;
    }
    
    .info-label {
        flex: none;
        margin-bottom: 5px;
        padding-right: 0;
        font-size: 14px;
    }
    
    .info-value {
        font-size: 15px;
    }
    
    .button-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .button-group > * {
        width: 100%;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .pricing-table {
        font-size: 14px;
    }
    
    .pricing-table td {
        padding: 10px;
    }
    
    .total-row .total-label {
        font-size: 16px;
    }
    
    .total-row .total-value {
        font-size: 18px;
    }
    
    .price-detail td {
        font-size: 12px;
        padding-left: 15px;
    }
    
    .status-message {
        font-size: 18px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .listing-detail {
        padding: 15px;
        margin: 5px;
    }
    
    .event-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .info-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .info-label {
        font-size: 13px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .pricing-table {
        font-size: 13px;
    }
    
    .pricing-table td {
        padding: 8px;
    }
    
    .total-row .total-label {
        font-size: 15px;
    }
    
    .total-row .total-value {
        font-size: 17px;
    }
    
    .price-detail td {
        font-size: 11px;
        padding-left: 12px;
    }
    
    .status-message {
        font-size: 16px;
        padding: 15px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .pricing-table {
        font-size: 13px;
    }
    
    .price-detail td {
        font-size: 11px;
        padding-left: 8px;
    }
    
    .total-row .total-value {
        font-size: 16px;
    }
}