/*
 * Trolltunga Booking - Frontend Styles
 * Kolory: #C67B8B (primary), #3A3A3A (text)
 */

:root {
    --ttb-primary: #C67B8B;
    --ttb-text: #3A3A3A;
    --ttb-light: #f5f5f5;
    --ttb-border: #e0e0e0;
    --ttb-success: #4caf50;
    --ttb-warning: #ff9800;
    --ttb-danger: #f44336;
    --ttb-gray: #999;
}

/* ===========================
   ALL TOURS WRAPPER
   =========================== */

.ttb-all-tours-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* ===========================
   KALENDARZ
   =========================== */

.ttb-calendar-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.ttb-calendar-wrapper *,
.ttb-calendar-wrapper *::before,
.ttb-calendar-wrapper *::after {
    box-sizing: border-box;
}

.ttb-calendar-wrapper .ttb-calendar-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ttb-border);
}

.ttb-calendar-wrapper .ttb-calendar-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--ttb-text);
}

.ttb-calendar-wrapper .ttb-prev-month,
.ttb-calendar-wrapper .ttb-next-month {
    background: var(--ttb-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.ttb-calendar-wrapper .ttb-prev-month:hover,
.ttb-calendar-wrapper .ttb-next-month:hover {
    background: #b36a7a;
    transform: scale(1.1);
}

.ttb-calendar-wrapper .ttb-calendar-days-header {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px;
    margin-bottom: 15px;
}

.ttb-calendar-wrapper .ttb-day-name {
    text-align: center;
    font-weight: 600;
    color: var(--ttb-text);
    font-size: 14px;
    padding: 10px 0;
}

.ttb-calendar-wrapper .ttb-calendar-dates {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px;
}

.ttb-calendar-wrapper .ttb-calendar-day {
    aspect-ratio: 1;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 2px solid transparent;
    background: var(--ttb-light);
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-other-month {
    opacity: 0.3;
    pointer-events: none;
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-today {
    border-color: var(--ttb-primary);
}

.ttb-calendar-wrapper .ttb-calendar-day .ttb-day-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--ttb-text);
}

.ttb-calendar-wrapper .ttb-calendar-day .ttb-day-info {
    font-size: 10px;
    margin-top: 4px;
    color: var(--ttb-gray);
}

.ttb-calendar-wrapper .ttb-calendar-day .ttb-tour-name {
    font-size: 9px;
    font-weight: 500;
    color: var(--ttb-primary);
    display: block;
    margin-top: 2px;
    line-height: 1.2;
    text-align: center;
}

.ttb-calendar-wrapper .ttb-calendar-day .ttb-tour-duration {
    font-size: 8px;
    font-weight: 600;
    color: var(--ttb-warning);
    display: block;
    margin-top: 2px;
    line-height: 1;
    text-align: center;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
    padding: 1px 4px;
}

/* Statusy dostępności */
.ttb-calendar-wrapper .ttb-calendar-day.ttb-available {
    background: #e8f5e9;
    border-color: var(--ttb-success);
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-available:hover {
    background: var(--ttb-success);
    color: white;
    transform: scale(1.05);
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-available:hover .ttb-day-number,
.ttb-calendar-wrapper .ttb-calendar-day.ttb-available:hover .ttb-day-info {
    color: white;
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-last-spots {
    background: #fff3e0;
    border-color: var(--ttb-warning);
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-last-spots:hover {
    background: var(--ttb-warning);
    color: white;
    transform: scale(1.05);
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-last-spots:hover .ttb-day-number,
.ttb-calendar-wrapper .ttb-calendar-day.ttb-last-spots:hover .ttb-day-info {
    color: white;
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-sold-out,
.ttb-calendar-wrapper .ttb-calendar-day.ttb-closed {
    background: #f5f5f5;
    color: var(--ttb-gray);
    cursor: not-allowed;
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-sold-out .ttb-day-number,
.ttb-calendar-wrapper .ttb-calendar-day.ttb-closed .ttb-day-number {
    color: var(--ttb-gray);
}

/* Przeszłe daty - wyszarzone i nieaktywne */
.ttb-calendar-wrapper .ttb-calendar-day.ttb-past {
    background: #f0f0f0;
    color: #bbb;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-past .ttb-day-number {
    color: #bbb;
    text-decoration: line-through;
}

.ttb-calendar-wrapper .ttb-calendar-day.ttb-past .ttb-day-info,
.ttb-calendar-wrapper .ttb-calendar-day.ttb-past .ttb-tour-name {
    display: none;
}

/* Legenda */
.ttb-calendar-wrapper .ttb-calendar-legend {
    display: flex !important;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--ttb-border);
    flex-wrap: wrap;
}

.ttb-calendar-wrapper .ttb-legend-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ttb-text);
}

.ttb-calendar-wrapper .ttb-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.ttb-legend-color.ttb-available {
    background: #e8f5e9;
    border: 2px solid var(--ttb-success);
}

.ttb-legend-color.ttb-last-spots {
    background: #fff3e0;
    border: 2px solid var(--ttb-warning);
}

.ttb-legend-color.ttb-sold-out {
    background: #f5f5f5;
    border: 2px solid var(--ttb-gray);
}

.ttb-legend-color.ttb-closed {
    background: #ffebee;
    border: 2px solid var(--ttb-danger);
}

.ttb-legend-color.ttb-past {
    background: #f0f0f0;
    border: 2px solid #bbb;
}

/* ===========================
   MODAL
   =========================== */

.ttb-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.ttb-modal.ttb-modal-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.ttb-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.ttb-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: ttbModalSlideIn 0.3s ease;
    z-index: 2;
}

@keyframes ttbModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ttb-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--ttb-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10;
}

.ttb-modal-close:hover {
    background: var(--ttb-light);
    color: var(--ttb-text);
}

.ttb-modal-body {
    padding: 40px;
}

/* ===========================
   FORMULARZ REZERWACJI
   =========================== */

.ttb-booking-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ttb-border);
}

.ttb-booking-header i {
    font-size: 48px;
    color: var(--ttb-primary);
}

.ttb-booking-title {
    margin: 0;
    font-size: 24px;
    color: var(--ttb-text);
}

.ttb-booking-date {
    margin: 5px 0 0;
    color: var(--ttb-gray);
    font-size: 16px;
}

.ttb-form-section {
    margin-bottom: 30px;
}

.ttb-form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--ttb-text);
    margin-bottom: 12px;
    font-size: 15px;
}

.ttb-form-label i {
    color: var(--ttb-primary);
    font-size: 18px;
}

/* Liczba uczestników */
.ttb-quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.ttb-qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--ttb-primary);
    background: white;
    color: var(--ttb-primary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttb-qty-btn:hover {
    background: var(--ttb-primary);
    color: white;
}

.ttb-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#ttb-participants {
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 2px solid var(--ttb-border);
    border-radius: 8px;
    color: var(--ttb-text);
}

.ttb-spots-info {
    text-align: center;
    color: var(--ttb-gray);
    font-size: 14px;
    margin: 10px 0 0;
}

.ttb-spots-info i {
    margin-right: 5px;
}

/* Inputy */
.ttb-booking-form input[type="text"],
.ttb-booking-form input[type="email"],
.ttb-booking-form input[type="tel"],
.ttb-booking-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--ttb-border);
    border-radius: 8px;
    font-size: 15px;
    color: var(--ttb-text);
    transition: all 0.2s;
    margin-bottom: 10px;
}

.ttb-booking-form input:focus,
.ttb-booking-form textarea:focus {
    outline: none;
    border-color: var(--ttb-primary);
}

/* Checkboxy */
.ttb-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--ttb-text);
}

.ttb-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--ttb-primary);
}

/* Extras */
#ttb-extras-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ttb-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 2px solid var(--ttb-border);
    border-radius: 8px;
    transition: all 0.2s;
}

.ttb-extra-item:hover {
    border-color: var(--ttb-primary);
    background: #fafafa;
}

.ttb-extra-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: var(--ttb-primary);
}

.ttb-extra-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ttb-extra-name {
    font-weight: 600;
    color: var(--ttb-text);
}

.ttb-extra-desc {
    font-size: 13px;
    color: var(--ttb-gray);
}

.ttb-extra-price {
    font-weight: 600;
    color: var(--ttb-primary);
    font-size: 16px;
}

/* Podsumowanie */
.ttb-summary {
    background: var(--ttb-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ttb-summary h4 {
    margin: 0 0 15px;
    color: var(--ttb-text);
}

.ttb-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.ttb-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--ttb-text);
}

.ttb-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 2px solid var(--ttb-border);
    font-size: 20px;
    font-weight: 700;
    color: var(--ttb-text);
}

#ttb-total-price {
    color: var(--ttb-primary);
}

/* Przyciski */
.ttb-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Reset .ttb-modal-close styles when used as Anuluj button inside form actions */
.ttb-form-actions .ttb-modal-close {
    position: static;
    width: auto;
    height: auto;
    font-size: 16px;
    background: white;
    color: var(--ttb-text);
    border: 2px solid var(--ttb-border);
    border-radius: 8px;
    padding: 15px 30px;
}

.ttb-btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ttb-btn-primary {
    background: var(--ttb-primary);
    color: white;
}

.ttb-btn-primary:hover {
    background: #b36a7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 123, 139, 0.3);
}

.ttb-btn-secondary {
    background: white;
    color: var(--ttb-text);
    border: 2px solid var(--ttb-border);
}

.ttb-btn-secondary:hover {
    background: var(--ttb-light);
}

/* Loader */
.ttb-form-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.ttb-form-loader i {
    font-size: 48px;
    color: var(--ttb-primary);
    margin-bottom: 15px;
}

.ttb-form-loader p {
    font-size: 16px;
    color: var(--ttb-text);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .ttb-calendar-wrapper {
        padding: 20px;
        margin: 20px auto;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .ttb-modal-body {
        padding: 25px;
    }

    .ttb-calendar-wrapper .ttb-calendar-header h3 {
        font-size: 20px;
    }

    .ttb-booking-title {
        font-size: 20px;
    }

    .ttb-form-actions {
        flex-direction: column;
    }

    .ttb-calendar-wrapper .ttb-calendar-day .ttb-day-info {
        display: none;
    }

    .ttb-calendar-wrapper .ttb-calendar-legend {
        gap: 10px;
        font-size: 12px;
    }
}

@media screen and (max-width: 500px) {
    .ttb-calendar-wrapper {
        padding: 12px !important;
        margin: 10px !important;
        border-radius: 10px;
        box-sizing: border-box !important;
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .ttb-calendar-wrapper .ttb-calendar-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
        gap: 10px;
    }

    .ttb-calendar-wrapper .ttb-calendar-header h3 {
        font-size: 16px;
        flex: 1;
        text-align: center;
    }

    .ttb-calendar-wrapper .ttb-prev-month,
    .ttb-calendar-wrapper .ttb-next-month {
        width: 32px;
        height: 32px;
        min-width: 32px;
        flex-shrink: 0;
    }

    .ttb-calendar-wrapper .ttb-calendar-days-header {
        gap: 2px;
        margin-bottom: 8px;
    }

    .ttb-calendar-wrapper .ttb-day-name {
        font-size: 10px;
        padding: 5px 0;
    }

    .ttb-calendar-wrapper .ttb-calendar-dates {
        gap: 2px;
    }

    .ttb-calendar-wrapper .ttb-calendar-day {
        border-radius: 4px;
        border-width: 1px;
        min-height: 0;
        padding: 2px;
    }

    .ttb-calendar-wrapper .ttb-calendar-day .ttb-day-number {
        font-size: 12px;
    }

    .ttb-calendar-wrapper .ttb-calendar-day .ttb-tour-name {
        font-size: 6px;
        margin-top: 1px;
        line-height: 1.1;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ttb-calendar-wrapper .ttb-calendar-day .ttb-tour-duration {
        font-size: 5px;
        padding: 0px 2px;
        margin-top: 1px;
    }

    .ttb-calendar-wrapper .ttb-calendar-legend {
        gap: 6px 12px;
        margin-top: 15px;
        padding-top: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ttb-calendar-wrapper .ttb-legend-item {
        font-size: 10px;
        gap: 4px;
    }

    .ttb-calendar-wrapper .ttb-legend-color {
        width: 14px;
        height: 14px;
    }
}

/* Extra small devices - iPhone SE, older phones */
@media screen and (max-width: 380px) {
    .ttb-calendar-wrapper {
        padding: 8px !important;
        margin: 5px !important;
        width: calc(100% - 10px) !important;
    }

    .ttb-calendar-wrapper .ttb-calendar-header h3 {
        font-size: 14px;
    }

    .ttb-calendar-wrapper .ttb-prev-month,
    .ttb-calendar-wrapper .ttb-next-month {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .ttb-calendar-wrapper .ttb-calendar-days-header,
    .ttb-calendar-wrapper .ttb-calendar-dates {
        gap: 1px;
    }

    .ttb-calendar-wrapper .ttb-day-name {
        font-size: 9px;
        padding: 4px 0;
    }

    .ttb-calendar-wrapper .ttb-calendar-day .ttb-day-number {
        font-size: 11px;
    }

    .ttb-calendar-wrapper .ttb-calendar-day .ttb-tour-name,
    .ttb-calendar-wrapper .ttb-calendar-day .ttb-tour-duration {
        display: none;
    }

    .ttb-calendar-wrapper .ttb-legend-item {
        font-size: 9px;
    }

    .ttb-calendar-wrapper .ttb-legend-color {
        width: 12px;
        height: 12px;
    }
}

/* ===========================
   TRAVEL OPTIONS
   =========================== */

.ttb-travel-options-section {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.ttb-travel-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ttb-travel-option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ttb-travel-option:hover {
    border-color: #3498db;
}

.ttb-travel-option.selected {
    border-color: #3498db;
    background: #f0f7ff;
}

.ttb-radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.ttb-radio-label:hover {
    background: rgba(52, 152, 219, 0.05);
}

.ttb-radio-label input[type="radio"] {
    display: none;
}

.ttb-radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.ttb-radio-label input[type="radio"]:checked + .ttb-radio-custom {
    border-color: #3498db;
}

.ttb-radio-label input[type="radio"]:checked + .ttb-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #3498db;
    border-radius: 50%;
}

.ttb-radio-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.ttb-radio-text i {
    color: #3498db;
    font-size: 18px;
}

/* Travel Details Box */
.ttb-travel-details {
    padding: 0 18px 18px;
    animation: ttb-slide-down 0.3s ease;
}

@keyframes ttb-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ttb-travel-info-box {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.ttb-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ttb-info-header i {
    color: #3498db;
}

.ttb-info-notice {
    background: #fff8e6;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: #856404;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.ttb-info-notice i {
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Flight Route Display */
.ttb-flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #e8f4fc 0%, #f0f8ff 100%);
    border-radius: 10px;
}

.ttb-flight-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.ttb-point-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ttb-point-place {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.ttb-point-time {
    font-size: 18px;
    font-weight: 700;
    color: #3498db;
}

.ttb-flight-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #3498db;
    padding: 0 10px;
}

.ttb-flight-arrow i {
    font-size: 20px;
}

.ttb-flight-number {
    font-size: 12px;
    font-weight: 600;
    background: #3498db;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Norway Meeting Info */
.ttb-meeting-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ttb-meeting-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
}

.ttb-meeting-row i {
    color: #27ae60;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.ttb-meeting-row strong {
    color: #27ae60;
    font-size: 16px;
}

.ttb-norway-info .ttb-info-header i {
    color: #27ae60;
}

/* Responsive */
@media (max-width: 480px) {
    .ttb-flight-route {
        flex-direction: column;
        gap: 20px;
    }
    
    .ttb-flight-arrow {
        transform: rotate(90deg);
    }
    
    .ttb-flight-point {
        width: 100%;
    }
}

/* ===========================
   TOAST NOTIFICATIONS
   =========================== */

.ttb-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.ttb-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 450px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
}

.ttb-toast.ttb-toast-show {
    transform: translateX(0);
    opacity: 1;
}

.ttb-toast.ttb-toast-hide {
    transform: translateX(120%);
    opacity: 0;
}

.ttb-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttb-toast-icon svg {
    width: 14px;
    height: 14px;
}

.ttb-toast-content {
    flex: 1;
}

.ttb-toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.ttb-toast-message {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.ttb-toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.ttb-toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ttb-toast-close svg {
    width: 12px;
    height: 12px;
}

/* Toast Success */
.ttb-toast-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.ttb-toast-success .ttb-toast-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Toast Error */
.ttb-toast-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.ttb-toast-error .ttb-toast-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Toast Warning */
.ttb-toast-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.ttb-toast-warning .ttb-toast-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Toast Info */
.ttb-toast-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.ttb-toast-info .ttb-toast-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Toast Progress Bar */
.ttb-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0 0 12px 12px;
    animation: ttb-toast-progress linear forwards;
}

@keyframes ttb-toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Responsive */
@media (max-width: 480px) {
    .ttb-toast-container {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
    }
    
    .ttb-toast {
        min-width: auto;
        max-width: none;
    }
}

/* =============================================
   SELEKTOR WALUTY
   ============================================= */

.ttb-currency-selector {
    margin: 0 0 20px 0;
    padding: 15px;
    background: #f9f6f7;
    border-radius: 10px;
    border: 1px solid #e8dde0;
}

.ttb-currency-selector label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ttb-text, #3A3A3A);
    margin-bottom: 10px;
}

.ttb-currency-options {
    display: flex;
    gap: 8px;
}

.ttb-currency-option {
    flex: 1;
    position: relative;
}

.ttb-currency-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ttb-currency-option .ttb-currency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border: 2px solid #d4c5c9;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-align: center;
}

.ttb-currency-option .ttb-currency-btn:hover {
    border-color: var(--ttb-primary, #C67B8B);
    color: var(--ttb-primary, #C67B8B);
}

.ttb-currency-option input[type="radio"]:checked + .ttb-currency-btn {
    border-color: var(--ttb-primary, #C67B8B);
    background: var(--ttb-primary, #C67B8B);
    color: #fff;
    box-shadow: 0 2px 8px rgba(198, 123, 139, 0.3);
}

.ttb-currency-rate-info {
    margin-top: 8px;
    font-size: 11px;
    color: #999;
    text-align: center;
}

/* ===========================
   KOSZYK / CHECKOUT / ZAMÓWIENIE
   Dane rezerwacji TTB
   =========================== */

/* Koszyk - dl.variation */
.woocommerce-cart-form dl.variation,
.woocommerce-mini-cart dl.variation {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 12px 0 0;
    padding: 12px 14px;
    background: #f9f6f7;
    border-radius: 10px;
    border: 1px solid #e8dde0;
    font-size: 13px;
    line-height: 1.5;
}

.woocommerce-cart-form dl.variation dt,
.woocommerce-mini-cart dl.variation dt {
    font-weight: 600;
    color: var(--ttb-primary, #C67B8B);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ece3e6;
}

.woocommerce-cart-form dl.variation dt:first-child,
.woocommerce-mini-cart dl.variation dt:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.woocommerce-cart-form dl.variation dd,
.woocommerce-mini-cart dl.variation dd {
    margin: 4px 0 0 0;
    padding: 0;
    color: var(--ttb-text, #3A3A3A);
}

.woocommerce-cart-form dl.variation dd p,
.woocommerce-mini-cart dl.variation dd p {
    margin: 0;
}

/* Checkout & zamówienie - ul.wc-item-meta */
ul.wc-item-meta {
    margin: 10px 0 0 !important;
    padding: 12px 14px !important;
    background: #f9f6f7;
    border-radius: 10px;
    border: 1px solid #e8dde0;
    list-style: none !important;
    font-size: 13px;
    line-height: 1.5;
}

ul.wc-item-meta li {
    margin: 0 !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #ece3e6;
}

ul.wc-item-meta li:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
}

ul.wc-item-meta li:first-child {
    padding-top: 0 !important;
}

ul.wc-item-meta li strong.wc-item-meta-label {
    display: block;
    font-weight: 600;
    color: var(--ttb-primary, #C67B8B);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

ul.wc-item-meta li p {
    margin: 0 !important;
    color: var(--ttb-text, #3A3A3A);
}

/* Wspólne elementy meta TTB */
.ttb-meta-icon {
    margin-right: 4px;
}

.ttb-meta-sub {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* Mini-koszyk - kompaktowy widok */
.woocommerce-mini-cart dl.variation {
    font-size: 11px;
    padding: 8px 10px;
    gap: 0;
    margin: 8px 0 0;
}

.woocommerce-mini-cart dl.variation dt {
    font-size: 10px;
    margin-top: 6px;
    padding-top: 6px;
}

/* Mini-koszyk: pokaż tylko Data i Uczestnicy (1. i 2. para dt/dd) */
/* Ukryj 3., 4. i 5. parę (Kontakt, Dodatki, Dojazd) */
.woocommerce-mini-cart dl.variation dt:nth-of-type(n+3),
.woocommerce-mini-cart dl.variation dd:nth-of-type(n+3) {
    display: none !important;
}

/* Widget koszyka (sidebar) - ten sam kompaktowy widok */
.widget_shopping_cart dl.variation dt:nth-of-type(n+3),
.widget_shopping_cart dl.variation dd:nth-of-type(n+3) {
    display: none !important;
}

/* Mini-koszyk: ukryj etykiety (dt) - zostaw tylko wartości */
.woocommerce-mini-cart dl.variation dt {
    display: none !important;
}

.woocommerce-mini-cart dl.variation dd {
    margin: 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.4;
}

.woocommerce-mini-cart dl.variation dd + dd {
    margin-top: 2px;
}

/* Mini-koszyk: ukryj osobną cenę przy produkcie (zostaje w podsumowaniu) */
.woocommerce-mini-cart .quantity {
    display: none !important;
}

/* Mobile */
@media (max-width: 480px) {
    .ttb-currency-selector {
        padding: 12px;
        margin-bottom: 15px;
    }

    .ttb-currency-option .ttb-currency-btn {
        padding: 8px 10px;
        font-size: 13px;
    }
}
