/**
 * Traffic Payment Portal - Modern Professional Design
 * File: assets/css/payment-portal.css
 * Redesigned for Traffic Pro by Techpro Security
 */

/* CSS Variables for Easy Theming */
:root {
    --tpp-primary: #2563eb;
    --tpp-primary-dark: #1e40af;
    --tpp-primary-light: #3b82f6;
    --tpp-secondary: #64748b;
    --tpp-success: #10b981;
    --tpp-warning: #f59e0b;
    --tpp-danger: #ef4444;
    --tpp-dark: #1e293b;
    --tpp-gray-light: #f1f5f9;
    --tpp-gray-medium: #e2e8f0;
    --tpp-text-primary: #0f172a;
    --tpp-text-secondary: #64748b;
    --tpp-border-light: #e2e8f0;
    --tpp-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --tpp-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --tpp-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --tpp-radius: 12px;
}

/* Base Container - Full Width */
.tpp-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--tpp-text-primary);
    line-height: 1.6;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

/* Header Banner */
.tpp-header-banner {
    background: linear-gradient(135deg, var(--tpp-primary) 0%, var(--tpp-primary-dark) 100%);
    color: white;
    padding: 30px 40px;
    box-shadow: var(--tpp-shadow-lg);
}

.tpp-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
}

.tpp-logo-section h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
}

.tpp-tagline {
    font-size: 14px;
    opacity: 0.9;
    margin-left: 5px;
}

.tpp-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.tpp-separator {
    opacity: 0.5;
}

/* Progress Bar */
.tpp-progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: white;
    border-bottom: 1px solid var(--tpp-border-light);
}

.tpp-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.tpp-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--tpp-gray-medium);
    z-index: 0;
}

.tpp-progress-step.active::after,
.tpp-progress-step.completed::after {
    background: var(--tpp-primary);
}

/* Completed step styling */
.tpp-progress-step.completed .tpp-progress-circle {
    background: var(--tpp-success);
    border-color: var(--tpp-success);
    color: white;
}

.tpp-progress-step.completed span {
    color: var(--tpp-success);
}

.tpp-progress-step.completed::after {
    background: var(--tpp-success) !important;
}

/* Ensure checkmark is visible */
.tpp-progress-step .tpp-progress-circle {
    font-size: 18px;
}

.tpp-progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--tpp-gray-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--tpp-text-secondary);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.tpp-progress-step.active .tpp-progress-circle {
    background: var(--tpp-primary);
    border-color: var(--tpp-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.tpp-progress-step.completed .tpp-progress-circle {
    background: var(--tpp-success);
    border-color: var(--tpp-success);
    color: white;
}

.tpp-progress-step span {
    margin-top: 10px;
    font-size: 14px;
    color: var(--tpp-text-secondary);
    font-weight: 500;
}

.tpp-progress-step.active span {
    color: var(--tpp-primary);
    font-weight: 600;
}

/* Main Content Area */
.tpp-main-content {
    padding: 40px;
}

.tpp-content-wrapper {
    max-width: 1320px;
    margin: 0 auto;
}

/* Step Management */
.tpp-step {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tpp-step.active {
    display: block;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Page Titles */
.tpp-page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--tpp-text-primary);
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.tpp-subtitle {
    font-size: 18px;
    color: var(--tpp-text-secondary);
    margin: 0 0 40px 0;
}

/* Welcome Section */
.tpp-welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

/* Dual Panel Layout */
.tpp-dual-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.tpp-panel-left,
.tpp-panel-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cards */
.tpp-card {
    background: white;
    border-radius: var(--tpp-radius);
    box-shadow: var(--tpp-shadow-md);
    padding: 40px;
    border: 1px solid var(--tpp-border-light);
}

.tpp-card.elegant {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.tpp-card.elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tpp-primary), var(--tpp-primary-light));
}

.tpp-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--tpp-primary-light), var(--tpp-primary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

/* Fix for white text in blue areas */
.tpp-card-icon svg {
    color: white !important;
}

.tpp-header-banner * {
    color: white !important;
}

.tpp-btn-primary {
    color: white !important;
}

.tpp-progress-step.active .tpp-progress-circle {
    color: white !important;
}

.tpp-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--tpp-text-primary);
    margin: 0 0 10px 0;
}

.tpp-card-description {
    color: var(--tpp-text-secondary);
    margin-bottom: 30px;
}

/* Info Cards */
.tpp-info-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border-radius: var(--tpp-radius);
    padding: 30px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.tpp-info-card h3 {
    color: var(--tpp-primary);
    margin: 0 0 15px 0;
}

.tpp-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.tpp-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tpp-text-primary);
}

.tpp-feature svg {
    color: var(--tpp-success);
}

/* Contact Card */
.tpp-contact-card {
    background: white;
    border-radius: var(--tpp-radius);
    padding: 25px;
    box-shadow: var(--tpp-shadow-sm);
}

.tpp-contact-card h4 {
    margin: 0 0 20px 0;
    color: var(--tpp-text-primary);
}

.tpp-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tpp-contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--tpp-gray-light);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tpp-contact-method:hover {
    background: var(--tpp-primary);
    color: white;
    transform: translateX(5px);
}

.tpp-contact-method svg {
    color: var(--tpp-primary);
}

.tpp-contact-method:hover svg {
    color: white;
}

.tpp-contact-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.tpp-contact-value {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

/* Modern Form Styles */
.tpp-form-group.modern {
    margin-bottom: 25px;
}

.tpp-form-group.modern label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--tpp-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tpp-form-group.modern input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--tpp-border-light);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.tpp-form-group.modern input:focus {
    outline: none;
    border-color: var(--tpp-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.tpp-input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--tpp-text-secondary);
}

.tpp-input-hint svg {
    color: var(--tpp-primary);
}

/* Buttons */
.tpp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.tpp-btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.tpp-btn-full {
    width: 100%;
}

.tpp-btn-primary {
    background: linear-gradient(135deg, var(--tpp-primary) 0%, var(--tpp-primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.tpp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(37, 99, 235, 0.3);
}

.tpp-btn-secondary {
    background: white;
    color: var(--tpp-text-primary);
    border: 2px solid var(--tpp-border-light);
}

.tpp-btn-secondary:hover {
    background: var(--tpp-gray-light);
    border-color: var(--tpp-primary);
    color: var(--tpp-primary);
}

.tpp-btn-ghost {
    background: transparent;
    color: var(--tpp-text-secondary);
    border: none;
}

.tpp-btn-ghost:hover {
    color: var(--tpp-primary);
    background: var(--tpp-gray-light);
}

/* Loading Spinner */
.tpp-spinner {
    display: none;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.tpp-btn.loading .tpp-spinner {
    display: inline-block;
}

.tpp-btn.loading span:not(.tpp-spinner) {
    display: none;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Citation Preview */
.tpp-review-container {
    display: grid;
    gap: 30px;
}

.tpp-citation-preview {
    display: grid;
    gap: 30px;
}

.tpp-violation-image {
    border-radius: var(--tpp-radius);
    overflow: hidden;
    box-shadow: var(--tpp-shadow-lg);
}

.tpp-violation-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tpp-citation-card {
    background: white;
    border-radius: var(--tpp-radius);
    padding: 30px;
    box-shadow: var(--tpp-shadow-md);
}

.tpp-citation-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--tpp-border-light);
}

.tpp-citation-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--tpp-text-primary);
}

.tpp-community-name {
    margin: 5px 0 0 0;
    color: var(--tpp-text-secondary);
    font-size: 14px;
}

.tpp-citation-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tpp-citation-badge.fine {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: var(--tpp-danger);
    border: 1px solid #fecaca;
}

.tpp-citation-badge.warning {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
    color: var(--tpp-warning);
    border: 1px solid #fde68a;
}

.tpp-citation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tpp-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tpp-detail-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tpp-text-secondary);
    font-weight: 600;
}

.tpp-detail-value {
    font-size: 16px;
    color: var(--tpp-text-primary);
    font-weight: 500;
}

.tpp-speed-violation {
    color: var(--tpp-danger);
    font-weight: 700;
}

.tpp-speed-limit {
    color: var(--tpp-text-secondary);
    font-weight: 400;
    font-size: 14px;
}

.tpp-fine-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--tpp-border-light);
}

.tpp-fine-details {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #fde68a;
}

.tpp-fine-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.tpp-fine-row:last-child {
    margin-bottom: 0;
}

.tpp-fine-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--tpp-warning);
}

.tpp-warning-notice {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #7dd3fc;
}

.tpp-warning-notice svg {
    color: #0284c7;
}

/* Payment Layout */
.tpp-payment-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.tpp-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 25px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--tpp-text-primary);
}

.tpp-form-section {
    margin-bottom: 35px;
}

.tpp-form-section h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--tpp-text-primary);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tpp-border-light);
}

.tpp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Stripe Element */
.tpp-stripe-element {
    padding: 14px 18px;
    border: 2px solid var(--tpp-border-light);
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
}

.tpp-stripe-element.StripeElement--focus {
    border-color: var(--tpp-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tpp-stripe-element.StripeElement--invalid {
    border-color: var(--tpp-danger);
}

/* Security Badge */
.tpp-security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 10px;
    border: 1px solid #86efac;
    margin-top: 20px;
}

.tpp-security-badge svg {
    color: var(--tpp-success);
}

.tpp-security-badge span {
    font-size: 14px;
    color: #15803d;
    font-weight: 500;
}

.tpp-secure-logos {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

/* Summary Card */
.summary-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    position: sticky;
    top: 20px;
}

.tpp-summary-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.tpp-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.tpp-amount {
    font-weight: 600;
    color: var(--tpp-text-primary);
}

.tpp-summary-divider {
    height: 1px;
    background: var(--tpp-border-light);
    margin: 10px 0;
}

.tpp-summary-line.tpp-total {
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.tpp-amount-total {
    font-size: 24px;
    color: var(--tpp-primary);
}

/* Success State */
.tpp-success-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.tpp-success-animation {
    margin-bottom: 30px;
}

.tpp-checkmark {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-check 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes draw-check {
    to {
        stroke-dashoffset: 0;
    }
}

.tpp-success-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--tpp-success);
    margin: 0 0 10px 0;
}

.tpp-success-message {
    font-size: 18px;
    color: var(--tpp-text-secondary);
    margin: 0 0 40px 0;
}

.tpp-confirmation-card {
    background: white;
    border-radius: var(--tpp-radius);
    padding: 40px;
    box-shadow: var(--tpp-shadow-lg);
}

.tpp-receipt-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Modal */
.tpp-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.tpp-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
}

.tpp-modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tpp-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--tpp-text-secondary);
    transition: color 0.2s;
    line-height: 1;
}

.tpp-modal-close:hover {
    color: var(--tpp-text-primary);
}

.tpp-modal-icon {
    margin-bottom: 20px;
}

.tpp-modal-icon.error svg {
    color: var(--tpp-danger);
}

.tpp-modal-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--tpp-text-primary);
}

.tpp-modal-content p {
    margin: 0 0 25px 0;
    color: var(--tpp-text-secondary);
    line-height: 1.6;
}

/* Error Messages */
.tpp-error-message {
    color: var(--tpp-danger);
    font-size: 14px;
    margin-top: 6px;
    display: none;
}

.tpp-error-message.show {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .tpp-dual-panel {
        grid-template-columns: 1fr;
    }
    
    .tpp-payment-layout {
        grid-template-columns: 1fr;
    }
    
    .summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .tpp-main-content {
        padding: 20px;
    }
    
    .tpp-header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .tpp-progress-bar {
        padding: 20px 10px;
    }
    
    .tpp-progress-step span {
        display: none;
    }
    
    .tpp-page-title {
        font-size: 28px;
    }
    
    .tpp-card {
        padding: 25px;
    }
    
    .tpp-citation-grid {
        grid-template-columns: 1fr;
    }
    
    .tpp-form-row {
        grid-template-columns: 1fr;
    }
    
    .tpp-receipt-actions {
        flex-direction: column;
    }
    
    .tpp-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    #tpp-step-confirmation,
    #tpp-step-confirmation * {
        visibility: visible;
    }
    
    #tpp-step-confirmation {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .tpp-btn {
        display: none !important;
    }
}

/* FAQ Button - Floating Style */
.tpp-faq-button-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.tpp-faq-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--tpp-primary) 0%, var(--tpp-primary-dark) 100%);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.tpp-faq-trigger span {
    color: white !important;
}

.tpp-faq-trigger svg {
    color: white !important;
    fill: white !important;
}

.tpp-faq-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.tpp-faq-trigger svg {
    flex-shrink: 0;
}

/* FAQ Modal Specific */
.tpp-faq-content {
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.tpp-modal-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--tpp-border-light);
}

.tpp-modal-header svg {
    color: var(--tpp-primary);
    margin-bottom: 15px;
}

.tpp-modal-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--tpp-text-primary);
}

.tpp-modal-header p {
    margin: 0;
    color: var(--tpp-text-secondary);
    font-size: 16px;
}

/* FAQ List */
.tpp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tpp-faq-item {
    background: var(--tpp-gray-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tpp-faq-item.active {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tpp-faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--tpp-text-primary);
    transition: all 0.3s ease;
}

.tpp-faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.tpp-faq-item.active .tpp-faq-question {
    color: var(--tpp-primary);
    background: rgba(37, 99, 235, 0.05);
}

.tpp-faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.tpp-faq-item.active .tpp-faq-question svg {
    transform: rotate(180deg);
}

.tpp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.tpp-faq-item.active .tpp-faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.tpp-faq-answer p {
    margin: 0 0 15px 0;
    color: var(--tpp-text-secondary);
    line-height: 1.6;
}

.tpp-faq-answer p:last-child {
    margin-bottom: 0;
}

.tpp-faq-answer ul {
    margin: 0;
    padding-left: 20px;
    color: var(--tpp-text-secondary);
}

.tpp-faq-answer li {
    margin-bottom: 8px;
}

.tpp-faq-answer strong {
    color: var(--tpp-text-primary);
}

.tpp-faq-contact {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.tpp-faq-contact-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--tpp-gray-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--tpp-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tpp-faq-contact-method:hover {
    background: var(--tpp-primary);
    color: white;
}

.tpp-faq-contact-method:hover svg {
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tpp-faq-button-container {
        bottom: 20px;
        right: 20px;
    }
    
    .tpp-faq-trigger span {
        display: none;
    }
    
    .tpp-faq-trigger {
        padding: 14px;
        border-radius: 50%;
    }
    
    .tpp-faq-contact {
        flex-direction: column;
    }
}