/**
 * Trust Badges CSS
 * Mobile-first, responsive trust and security badge styles
 * Version: 1.0.0
 */

/* ============================================
   PAYMENT SECURITY SECTION
   ============================================ */

/* Payment Security Container - Visually Enclosed Area */
.payment-security-container {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.payment-security-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #2B2823;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Payment Methods and Norton Badge Grid */
.payment-methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.payment-badge {
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.payment-badge-visa {
    color: #1A1F71;
}

.payment-badge-mastercard {
    color: #EB001B;
}

.payment-badge-paypal {
    color: #003087;
}

/* Note: .payment-badge-amex styles are defined in camp-shared.css to avoid duplication */

/* Norton SSL Security Badge */
.norton-ssl-badge {
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #FFA500;
    font-size: 0.875rem;
    border: 1px solid #e0e0e0;
}

.norton-ssl-badge svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.norton-ssl-badge .badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.norton-ssl-badge .badge-main {
    font-weight: 800;
    font-size: 0.875rem;
}

.norton-ssl-badge .badge-sub {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

/* ============================================
   CUSTOMER SATISFACTION BADGE
   ============================================ */

.satisfaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
    margin: 0.5rem 0;
}

.satisfaction-badge .stars {
    font-size: 1rem;
    letter-spacing: 1px;
}

.satisfaction-badge .text {
    font-size: 0.875rem;
}

/* Satisfaction Badge Near CTAs */
.cta-with-satisfaction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* ============================================
   FLEXIBLE CANCELLATION BADGE
   ============================================ */

.cancellation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #2B2823;
    padding: 0.5rem 1rem;
    border: 2px solid #4CAF50;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8125rem;
    margin-top: 0.75rem;
}

.cancellation-badge svg {
    width: 18px;
    height: 18px;
    stroke: #4CAF50;
}

.cancellation-badge .badge-highlight {
    color: #4CAF50;
    font-weight: 700;
}

/* Package Card Cancellation Badge */
.package-cancellation-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    background: #E8F5E9;
    color: #2E7D32;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-top: 0.75rem;
    border: 1px solid #C8E6C9;
}

.package-cancellation-badge svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ============================================
   TRUST FEATURES LIST
   ============================================ */

.trust-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.trust-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #2B2823;
}

.trust-feature-item .checkmark {
    color: #4CAF50;
    font-weight: 700;
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (min-width: 768px) {
    .payment-security-container {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .payment-security-title {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .payment-methods-grid {
        gap: 1rem;
    }

    .payment-badge {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }

    .norton-ssl-badge {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .norton-ssl-badge svg {
        width: 28px;
        height: 28px;
    }

    .satisfaction-badge {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .satisfaction-badge .stars {
        font-size: 1.125rem;
    }

    .satisfaction-badge .text {
        font-size: 1rem;
    }

    .cancellation-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .cancellation-badge svg {
        width: 20px;
        height: 20px;
    }

    .package-cancellation-badge {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .package-cancellation-badge svg {
        width: 18px;
        height: 18px;
    }

    .trust-feature-item {
        font-size: 1rem;
    }

    .trust-features-list {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP
   ============================================ */

@media (min-width: 1024px) {
    .payment-security-container {
        padding: 2.5rem 2rem;
    }

    .payment-methods-grid {
        gap: 1.25rem;
    }

    .cta-with-satisfaction {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .payment-security-container {
        border-width: 3px;
        border-color: #000;
    }

    .payment-badge,
    .norton-ssl-badge,
    .cancellation-badge {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .satisfaction-badge,
    .payment-badge,
    .norton-ssl-badge,
    .cancellation-badge {
        transition: none;
    }
}

/* Focus Visible for Keyboard Navigation */
.payment-badge:focus-visible,
.norton-ssl-badge:focus-visible,
.satisfaction-badge:focus-visible,
.cancellation-badge:focus-visible {
    outline: 3px solid #B7780D;
    outline-offset: 2px;
}
