/* Métier Travel Booking Plugin Styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

.metier-booking-wrapper {
    font-family: 'Montserrat', sans-serif;
    max-width: 450px;
    margin: 0 auto;
}

.metier-booking-card {
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.metier-booking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.metier-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #8B7355;
    margin-bottom: 0.5rem;
}

.metier-price-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    margin-bottom: 1rem;
}

.metier-duration {
    color: #666;
    font-weight: 300;
}

/* Buttons */
.metier-btn-luxury {
    width: 100%;
    padding: 1rem 2rem;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
}

.metier-btn-luxury:hover {
    background: #fff;
    color: #000;
}

.metier-btn-outline {
    padding: 0.75rem 2rem;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.metier-btn-outline:hover {
    background: #000;
    color: #fff;
}

.metier-btn-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.metier-btn-cancel {
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem;
    background: none;
    border: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.metier-btn-cancel:hover {
    color: #333;
}

/* Progress Indicator */
.metier-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.metier-progress-step {
    display: flex;
    align-items: center;
    flex: 1;
}

.metier-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.metier-progress-step.active .metier-step-circle {
    background: #1a1a1a;
    color: #fff;
}

.metier-progress-step.completed .metier-step-circle {
    background: #8B7355;
    color: #fff;
}

.metier-progress-step.completed .metier-step-circle::before {
    content: '✓';
}

.metier-progress-line {
    flex: 1;
    height: 2px;
    background: #ddd;
    margin: 0 0.5rem;
}

.metier-progress-step.completed + .metier-progress-line {
    background: #8B7355;
}

.metier-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
}

/* Form Steps */
.metier-step {
    display: none;
}

.metier-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.metier-step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #222;
}

/* Form Elements */
.metier-form-group {
    margin-bottom: 1rem;
}

.metier-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.metier-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.metier-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 1px #1a1a1a;
}

.metier-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Total Display */
.metier-total-display {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1.25rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.metier-total-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
}

.metier-total-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #8B7355;
}

/* Payment Options */
.metier-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.metier-payment-option {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.metier-payment-option:hover {
    border-color: #8B7355;
}

.metier-payment-option input[type="radio"] {
    margin-top: 4px;
    margin-right: 1rem;
    cursor: pointer;
}

.metier-payment-content {
    flex: 1;
}

.metier-payment-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: #222;
}

.metier-payment-desc {
    font-size: 0.875rem;
    color: #666;
    font-weight: 300;
}

/* Info Box */
.metier-info-box {
    background: rgba(201, 185, 155, 0.1);
    border: 1px solid #C9B99B;
    border-radius: 4px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #333;
    font-weight: 300;
    line-height: 1.6;
}

/* Cost Summary */
.metier-cost-summary {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1.25rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.metier-cost-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 300;
}

.metier-cost-total {
    border-top: 1px solid #ddd;
    padding-top: 0.75rem;
}

.metier-cost-total span:first-child {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
}

.metier-cost-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #8B7355;
}

/* Success State */
.metier-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #8B7355;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 2rem auto;
}

.metier-success-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #222;
}

.metier-success-message {
    text-align: center;
    color: #555;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.metier-elegant-link {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8B7355;
    border-bottom: 1px solid #8B7355;
    padding-bottom: 2px;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 1px solid #8B7355;
    transition: all 0.3s ease;
}

.metier-elegant-link:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

/* Help Section */
.metier-help-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.metier-help-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #222;
}

.metier-help-text {
    font-size: 0.875rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 1rem;
}

.metier-btn-email {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 0.75rem;
}

/* Loading State */
.metier-loading {
    opacity: 0.6;
    pointer-events: none;
}

.metier-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #ddd;
    border-top-color: #8B7355;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .metier-booking-card {
        padding: 1.5rem;
    }

    .metier-price {
        font-size: 2.5rem;
    }

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

    .metier-progress {
        margin-bottom: 1rem;
    }

    .metier-step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .metier-progress-labels {
        font-size: 0.6rem;
    }
}
