/**
 * TZ Fixed Departures - Styles
 */

/* Container */
.tzfd-container {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Title */
.tzfd-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Departures List */
.tzfd-departures-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Departure Item */
.tzfd-departure-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tzfd-departure-item:hover {
    background: #fff;
    border-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Date */
.tzfd-departure-date {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 180px;
}

.tzfd-date-icon {
    font-size: 18px;
}

.tzfd-date-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Price */
.tzfd-departure-price {
    font-size: 18px;
    font-weight: 700;
    color: #0d6e3e;
    min-width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Original price with strikethrough */
.tzfd-original-price {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-decoration: line-through;
}

/* Discounted price - highlighted */
.tzfd-discounted-price {
    font-size: 18px;
    font-weight: 700;
    color: #0d6e3e;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 4px 10px;
    border-radius: 4px;
}

.tzfd-per-person {
    font-size: 13px;
    font-weight: 400;
    color: #666;
}

/* Action Button */
.tzfd-departure-action {
    min-width: 150px;
    text-align: right;
}

.tzfd-plan-trip-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0d6e3e 0%, #0a5530 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.tzfd-plan-trip-btn:hover {
    background: linear-gradient(135deg, #0a5530 0%, #083d24 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 62, 0.25);
}

/* Discount Note */
.tzfd-discount-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    background: #e8f5e9;
    border-radius: 6px;
    font-size: 13px;
    color: #2e7d32;
}

.tzfd-note-icon {
    font-size: 14px;
}

/* Hidden Items */
.tzfd-departure-item.tzfd-hidden {
    display: none;
}

/* Show More Button */
.tzfd-show-more {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e0e0e0;
}

.tzfd-show-more-btn {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #0d6e3e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #0d6e3e;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tzfd-show-more-btn:hover {
    background: #0d6e3e;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tzfd-container {
        padding: 16px;
    }

    .tzfd-departure-item {
        padding: 14px 16px;
    }

    .tzfd-departure-date {
        flex: 0 0 100%;
    }

    .tzfd-departure-price {
        flex: 1;
        text-align: left;
        min-width: auto;
    }

    .tzfd-departure-action {
        min-width: auto;
    }

    .tzfd-plan-trip-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tzfd-departure-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tzfd-departure-action {
        width: 100%;
        text-align: left;
    }

    .tzfd-plan-trip-btn {
        width: 100%;
        text-align: center;
    }
}