/* Reservation Form Styles */

.reservation-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 60px;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.reservation-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #f0f9ff;
}

.reservation-background::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 0;
    width: 500px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-150px, -150px);
}


.decorative-element {
    position: absolute;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

.planeta-reservation {
    top: 5%;
    right: 3%;
    width: 100px;
    height: auto;
    animation: float 8s ease-in-out infinite;
}

.gwiazdy-reservation {
    top: 50%;
    right: 8%;
    width: 90px;
    height: auto;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
}

.breadcrumbs {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.breadcrumbs a {
    color: #06b6d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .edition-info {
    color: #0891b2;
    font-weight: 500;
    background: rgba(6, 182, 212, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.current {
    color: #6b7280;
}

/* Reservation Header */
.reservation-header {
    text-align: left;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.camp-edition-info {
    font-size: 0.95rem;
    color: #0891b2;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(6, 182, 212, 0.15));
    border-left: 3px solid #06b6d4;
    border-radius: 0 6px 6px 0;
    display: inline-block;
}

.reservation-header h1 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 700;
}

.camp-info {
    color: #475569;
    font-size: 15px;
    font-weight: 500;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 0;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 140px;
    position: relative;
    z-index: 10;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    z-index: 3;
}

.step.active .step-number {
    background: #06b6d4;
    color: white;
}

.step span {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    max-width: 120px;
    line-height: 1.4;
    font-weight: 500;
}

.step.active span {
    color: #000000;
    font-weight: 600;
}

.step-connector {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 -20px;
    position: relative;
    z-index: 1;
    align-self: center;
    margin-top: -33px;
}

.step-connector.completed {
    background: #00bcd4;
}

/* Main Content Layout */
.reservation-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 10;
}

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

/* Form Section */
.form-section {
    background: white;
    padding: 40px;
    /* border-radius: 20px; */
}

.reservation-form {
    max-width: none;
}

.form-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
    position: relative;
    z-index: 10;
}

.form-section-title h3 {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.participant-section {
    margin-top: 40px;
}

.back-link {
    color: #06b6d4;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Form Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
    font-size: 15px;
}

.required {
    color: #dc2626;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

/* Phone Input */
.phone-input {
    display: flex;
    gap: 10px;
}

.country-select {
    flex: 0 0 100px;
    padding: 12px 12px;
    min-width: 100px;
    width: 100px;
}

.phone-input input {
    flex: 1;
}

/* Radio Groups */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

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

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #06b6d4;
    background: #06b6d4;
}

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

/* Diet Cards */
.diet-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.diet-card {
    border: none;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f3f4f6;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diet-card.active {
    background: #3b82f6;
}

.diet-card:hover:not(.active) {
    background: #e0e7ff;
}

.diet-card.active .diet-icon img {
    filter: brightness(0) invert(1);
}

.diet-card.active .diet-title {
    color: white;
    font-weight: 500;
}

.diet-icon {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diet-icon img {
    width: 48px;
    height: 48px;
    aspect-ratio: 1;
    object-fit: contain;
}

.diet-card:not(.active) .diet-icon img {
    color: #6b7280;
    opacity: 0.7;
}

.diet-title {
    font-weight: 500;
    color: #6b7280;
}

/* Health Questions */
.health-questions {
    margin-bottom: 30px;
}

.health-question {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.health-question p {
    margin-bottom: 15px;
    font-weight: 500;
    color: #1f2937;
}

.tooltip {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #06b6d4;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    cursor: help;
    margin-left: 5px;
}

/* Checkbox */
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 15px;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #06b6d4;
    background: #06b6d4;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.consent-text {
    font-weight: 500;
    color: #1f2937;
}

.consent-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Consent Section */
.consent-section {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Additional Info */
.additional-info {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-header {
    color: #1f2937;
    margin-bottom: 10px;
}

.info-text {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Health Warning */
.health-warning {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.warning-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.warning-content h4 {
    color: #dc2626;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.warning-content p {
    color: #7f1d1d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-continue {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.btn-continue::after {
    content: '→';
    font-size: 16px;
    margin-left: 4px;
}

.btn-continue:hover {
    background: #2563eb;
}

/* Summary Section */
.summary-section {
    position: sticky;
    top: 20px;
}

.reservation-summary {
    background: white;
    border-radius: 12px;
    border-top-right-radius: 110px;
    padding: 35px;
}

.summary-icon {
    margin-bottom: 15px;
    text-align: left;
}

.reservation-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.reservation-summary h3 {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: left;
}

.summary-price {
    color: #6b7280;
    margin-bottom: 20px;
}

.price-breakdown {
    margin-bottom: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.price-item span {
    color: #000000;
}

.price-item strong {
    color: #000000;
}

.summary-details {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.summary-details p {
    margin-bottom: 10px;
    color: #1f2937;
}

.summary-total {
    border-top: 2px solid #9ca3af;
    padding-top: 20px;
    text-align: left;
    margin-top: 20px;
}

.summary-total h4 {
    color: #14a7de !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-align: left;
}

.total-price {
    font-size: 2rem;
    font-weight: 700;
    color: #000000 !important;
    margin: 15px 0 25px 0 !important;
    text-align: left;
}

.btn-continue-summary {
    background: #3b82f6;
    color: white !important;
    font-weight: 500;
    border-radius: 6px;
    padding: 10px 20px !important;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    position: relative;
}

.btn-continue-summary::after {
    content: '→';
    font-size: 16px;
    margin-left: 4px;
    color: white;
}

.btn-continue-summary:hover {
    background: #2563eb !important;
}


/* Responsive */
@media (max-width: 968px) {
    .reservation-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .summary-section {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .reservation-container {
        padding: 15px;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .diet-options {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        flex-direction: column;
        gap: 15px;
        max-width: none;
    }

    .step-connector {
        display: none;
    }

    .step {
        min-width: auto;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .phone-input {
        flex-direction: column;
    }

    .country-select {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .reservation-header h1 {
        font-size: 1.25rem;
    }

    .reservation-summary {
        padding: 20px;
    }

    .form-section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .back-link {
        align-self: flex-end;
    }
}

/* ========================================
   Edition Info Summary Styles
   ======================================== */

.edition-info-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.edition-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #495057;
    font-size: 14px;
}

.edition-info-item:first-child {
    padding-top: 0;
}

.edition-info-item:last-child {
    padding-bottom: 0;
}

.edition-info-item i,
.edition-info-item svg {
    width: 18px;
    height: 18px;
    color: #e74c3c;
    flex-shrink: 0;
}

.edition-info-item .edition-label {
    color: #6c757d;
}

.edition-info-item strong {
    color: #2c3e50;
    font-weight: 600;
}

@media (max-width: 768px) {
    .edition-info-summary {
        padding: 12px;
    }
    
    .edition-info-item {
        font-size: 13px;
        flex-wrap: wrap;
    }
}