/* Container principale */
.shipping-container {
    max-width: 1000px;
    margin: 120px auto 40px;
    padding: 0 20px;
}

/* Timeline */
.checkout-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
    padding: 0 40px;
}

.checkout-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e5e5e5;
    z-index: 1;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.timeline-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.timeline-link:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.checkout-timeline .step-number {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: white !important;
    border: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: #86868b;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
    text-align: center;
}

.checkout-timeline .timeline-step.completed .step-number {
    background: #34c759 !important;
    border-color: #34c759;
    color: white;
}

.checkout-timeline .timeline-step.completed .step-label {
    color: #34c759;
}

.checkout-timeline .timeline-step.current .step-number {
    background: white !important;
    border-color: #007aff;
    color: #007aff !important;
}

.checkout-timeline .timeline-step.current .step-label {
    color: #007aff;
    font-weight: 600;
}

/* Form Container */
.shipping-form-container {
    background: white;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.shipping-form-container h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 32px;
}

/* Form Sections */
.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f5f5f7;
}

.form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Form Elements */
label {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

input, select, textarea {
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    color: #1d1d1f;
    transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #007aff;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

@media (max-width: 767px) {
    .form-actions {
        flex-direction: column;
        gap: 16px;
    }

    .button-secondary,
    .button-primary {
        width: 100%;
        text-align: center;
    }

    .shipping-form-container {
        padding: 24px;
    }
}

.button-secondary {
    background: #6c757d;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.button-secondary:hover {
    background: #5a6268;
}

.button-primary {
    background: #007aff;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button-primary:hover {
    background: #0066d6;
}

/* Responsive */
@media (max-width: 768px) {
    .shipping-container {
        margin-top: 100px;
        padding: 0 16px;
    }

    .checkout-timeline {
        padding: 0 20px;
    }

    .checkout-timeline::before {
        left: 40px;
        right: 40px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-label {
        font-size: 12px;
    }

    .shipping-form-container {
        padding: 24px;
    }

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