/**
 * Gift Voucher Page Styles
 * Design basé sur la maquette Bellonie
 */

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.gift-voucher-container {
    background-color: #F5F1ED;
    min-height: 100vh;
    padding: 3rem 0;
    /* Image de fond - Carte cadeau Bellonie */
    background-image: url('../img/bellonie-img/CarteCadeau-Bellonie.png');
    background-size: cover;
    background-attachment: fixed;
}

.gift-voucher-container .container {
    max-width: 1200px;
}

/* ============================================
   STEPPER (déjà stylé dans multi-step-form.css)
   ============================================ */

.booking-stepper-wrapper {
    margin-bottom: 2.5rem;
}

/* ============================================
   MAIN CARD
   ============================================ */

.booking-main-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ============================================
   SECTIONS
   ============================================ */

.gv-section {
    margin-bottom: 2.5rem;
}

.gv-section:last-child {
    margin-bottom: 0;
}

.gv-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

/* ============================================
   AMOUNT SELECTION BUTTONS
   ============================================ */

.gv-amount-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.gv-amount-btn {
    flex: 1;
    min-width: 100px;
    padding: 0.875rem 1.5rem;
    background: #FFFFFF;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #2D2D2D;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.gv-amount-btn:hover {
    border-color: #E5BD6F;
    background: #FFF9F3;
}

.gv-amount-btn.active {
    background: #E5BD6F;
    border-color: #E5BD6F;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.25);
}

/* ============================================
   CUSTOM AMOUNT INPUT
   ============================================ */

.gv-custom-amount {
    margin-top: 1rem;
}

.gv-custom-amount-input {
    width: 100%;
    max-width: 300px;
    padding: 0.875rem 1.25rem;
    background: #FAFAFA;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #666666;
    transition: all 0.2s ease;
}

.gv-custom-amount-input:focus {
    outline: none;
    border-color: #E5BD6F;
    background: #FFFFFF;
}

.gv-custom-amount-input::placeholder {
    color: #999999;
}

/* ============================================
   PERSONALIZATION INPUTS
   ============================================ */

.booking-form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: #FAFAFA;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #2D2D2D;
    transition: all 0.2s ease;
}

.booking-form-input:focus {
    outline: none;
    border-color: #E5BD6F;
    background: #FFFFFF;
}

.booking-form-input::placeholder {
    color: #999999;
}

/* ============================================
   MESSAGE TEXTAREA
   ============================================ */

.gv-message-wrapper {
    position: relative;
    margin-top: 1rem;
}

.booking-form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #FAFAFA;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #2D2D2D;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.booking-form-textarea:focus {
    outline: none;
    border-color: #E5BD6F;
    background: #FFFFFF;
}

.booking-form-textarea::placeholder {
    color: #999999;
}

.gv-char-count {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-size: 0.8125rem;
    color: #999999;
    pointer-events: none;
}

/* ============================================
   DELIVERY INFO (Email uniquement)
   ============================================ */

.gv-delivery-info {
    padding: 1.5rem;
    background: #FFF9F3;
    border: 1.5px solid #E5BD6F;
    border-radius: 10px;
}

.gv-delivery-single {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gv-delivery-icon {
    font-size: 2rem;
    line-height: 1;
}

.gv-delivery-content {
    flex: 1;
}

.gv-delivery-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 0.25rem;
}

.gv-delivery-description {
    display: block;
    font-size: 0.875rem;
    color: #666666;
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */

.booking-next-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.booking-next-btn {
    padding: 0.875rem 2.5rem;
    background: #E5BD6F;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-next-btn:hover {
    background: #C9996A;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.booking-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.booking-prev-btn {
    padding: 0.875rem 2rem;
    background: #FFFFFF;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-prev-btn:hover {
    border-color: #E5BD6F;
    color: #E5BD6F;
}

/* ============================================
   SIDEBAR SUMMARY
   ============================================ */

.gv-summary-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 2rem;
}

.gv-summary-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.gv-summary-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.gv-summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D2D2D;
    margin: 0;
    letter-spacing: -0.01em;
}

.gv-summary-subtitle {
    text-align: center;
    font-size: 0.9375rem;
    color: #999999;
    margin-bottom: 1.5rem;
}

.gv-summary-body {
    padding: 1.5rem 0;
}

.gv-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.gv-summary-item:last-child {
    margin-bottom: 0;
}

.gv-summary-label {
    font-size: 0.9375rem;
    color: #666666;
}

.gv-summary-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2D2D2D;
}

.gv-summary-main .gv-summary-label {
    font-weight: 500;
    color: #2D2D2D;
}

.gv-summary-main .gv-summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E5BD6F;
}

.gv-summary-divider {
    height: 1px;
    background: #E0E0E0;
    margin: 1rem 0;
}

.gv-summary-total {
    padding-top: 0.5rem;
}

.gv-summary-total .gv-summary-label {
    font-weight: 600;
    color: #2D2D2D;
}

.gv-summary-total .gv-summary-value {
    font-size: 1.25rem;
}

/* ============================================
   CTA BUTTON
   ============================================ */

.gv-summary-cta {
    margin: 1.5rem 0;
}

.gv-cta-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #E5BD6F;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.gv-cta-button:hover {
    background: #C9996A;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    transform: translateY(-1px);
}

.gv-cta-button:active {
    transform: translateY(0);
}

/* ============================================
   SUMMARY INFO
   ============================================ */

.gv-summary-info {
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

.gv-info-item {
    font-size: 0.8125rem;
    color: #666666;
    line-height: 1.8;
}

.gv-info-item strong {
    color: #2D2D2D;
    font-weight: 600;
}

/* ============================================
   GIFT CARD PREVIEW
   ============================================ */

.gv-card-preview {
    margin-top: 2rem;
    text-align: center;
}

.gv-card-image {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.gv-card-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.gv-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   STEP 3 - PAYMENT
   ============================================ */

.gv-payment-methods {
    margin-top: 1.5rem;
}

.gv-payment-option {
    position: relative;
    padding: 1.25rem;
    background: #FAFAFA;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gv-payment-option:hover {
    border-color: #E5BD6F;
    background: #FFF9F3;
}

.gv-payment-option.selected {
    border-color: #E5BD6F;
    background: #FFF9F3;
}

.gv-payment-option input[type="radio"] {
    margin-right: 0.75rem;
}

.gv-terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #FAFAFA;
    border-radius: 8px;
}

.gv-terms-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.gv-terms-checkbox label {
    flex: 1;
    font-size: 0.9375rem;
    color: #666666;
    line-height: 1.6;
    cursor: pointer;
}

.gv-terms-checkbox label a {
    color: #E5BD6F;
    text-decoration: none;
    font-weight: 500;
}

.gv-terms-checkbox label a:hover {
    text-decoration: underline;
}

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

@media (max-width: 991px) {
    .gv-summary-card {
        position: relative;
        top: auto;
        margin-top: 2rem;
    }
    
    .gv-card-preview {
        display: none;
    }
}

@media (max-width: 767px) {
    .gift-voucher-container {
        padding: 2rem 0;
    }
    
    .booking-main-card {
        padding: 1.5rem;
    }
    
    .gv-summary-card {
        padding: 1.5rem;
    }
    
    .gv-amount-buttons {
        flex-direction: column;
    }
    
    .gv-amount-btn {
        width: 100%;
    }
    
    .gv-delivery-options {
        flex-direction: column;
    }
    
    .gv-delivery-option {
        width: 100%;
    }
    
    .booking-nav-buttons {
        flex-direction: column-reverse;
    }
    
    .booking-prev-btn,
    .booking-next-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .booking-stepper-wrapper {
        overflow-x: auto;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 0 1rem;
    }
    
    .booking-stepper {
        min-width: 500px;
    }
}

/* ============================================
   FORM LABELS
   ============================================ */

.booking-form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2D2D2D;
    margin-bottom: 0.5rem;
}

.text-danger {
    color: #E74C3C;
}

/* ============================================
   STEP VISIBILITY
   ============================================ */

.gv-step {
    display: none;
}

.gv-step:first-of-type {
    display: block;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gv-step {
    animation: fadeIn 0.3s ease;
}
