/**
 * CTC Booking Tours Shortcode Styles
 * ------------------------------------------------------------
 * Styles for the [ctcbooking_tours] shortcode
 */

/* Main container */
.ctcbooking-tours-display {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Tour item container */
.ctcbooking-tour-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.ctcbooking-tour-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Style variations */
.ctcbooking-style-compact .ctcbooking-tour-item {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
}

.ctcbooking-style-list .ctcbooking-tour-item {
    border: none;
    border-bottom: 2px solid #f0f0f0;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 0;
}

.ctcbooking-style-list .ctcbooking-tour-item:last-child {
    border-bottom: none;
}

/* Tour title */
.ctcbooking-tour-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1e6b3f;
    line-height: 1.3;
}

.ctcbooking-style-compact .ctcbooking-tour-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.ctcbooking-style-list .ctcbooking-tour-title {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Tour description */
.ctcbooking-tour-description {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

.ctcbooking-style-compact .ctcbooking-tour-description {
    font-size: 15px;
    margin-bottom: 15px;
}

/* Tour details container */
.ctcbooking-tour-details {
    display: grid;
    gap: 12px;
}

/* Pricing section */
.ctcbooking-tour-prices {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #f26522;
}

.ctcbooking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 0;
}

.ctcbooking-price-row:last-child {
    margin-bottom: 0;
}

.ctcbooking-price-label {
    font-weight: 600;
    color: #333333;
    font-size: 15px;
}

.ctcbooking-price-value {
    color: #f26522;
    font-weight: 700;
    font-size: 16px;
}

.ctcbooking-toddler-price {
    font-size: 14px;
    opacity: 0.8;
}

.ctcbooking-toddler-price .ctcbooking-price-label,
.ctcbooking-toddler-price .ctcbooking-price-value {
    font-size: 13px;
}

/* Combination discount */
.ctcbooking-combination-discount {
    margin-top: 12px;
    padding: 12px;
    background: #e8f5e8;
    border-radius: 6px;
    font-size: 14px;
    color: #1e6b3f;
    border-left: 3px solid #1e6b3f;
}

/* Detail rows */
.ctcbooking-tour-duration,
.ctcbooking-tour-age,
.ctcbooking-tour-times {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ctcbooking-tour-details > div:last-child {
    border-bottom: none;
}

.ctcbooking-detail-label {
    font-weight: 600;
    color: #555555;
    min-width: 120px;
    margin-right: 15px;
    font-size: 14px;
}

.ctcbooking-detail-value {
    color: #333333;
    font-size: 14px;
    flex: 1;
}

/* Tour notes */
.ctcbooking-tour-note {
    margin-top: 15px;
    padding: 12px 16px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    line-height: 1.5;
}

.ctcbooking-note-important {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.ctcbooking-tour-note strong {
    color: #333333;
}

/* Error message */
.ctcbooking-tours-error {
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
    .ctcbooking-tour-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .ctcbooking-tour-title {
        font-size: 20px;
    }
    
    .ctcbooking-tour-description {
        font-size: 15px;
    }
    
    .ctcbooking-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .ctcbooking-detail-label {
        min-width: auto;
        margin-right: 10px;
        margin-bottom: 4px;
    }
    
    .ctcbooking-tour-duration,
    .ctcbooking-tour-age,
    .ctcbooking-tour-times {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Print styles */
@media print {
    .ctcbooking-tour-item {
        border: 1px solid #000;
        box-shadow: none;
        break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .ctcbooking-tour-title {
        color: #000;
    }
    
    .ctcbooking-price-value {
        color: #000;
        font-weight: bold;
    }
    
    .ctcbooking-tour-note {
        background: #f0f0f0;
        border-left-color: #000;
    }
} 