/**
 * TTPA Form Styles
 * Modern, clean design for political advertising application form
 */

/* Theme palette (match skillingaryd.nu) */
.ttpa-ansok-form,
.ttpa-article {
    --ttpa-primary: #5f9cd3; /* borders / dividers */
    --ttpa-success: #57ad7a; /* site footer green */
    --ttpa-accent: #e67e22;  /* CTA / search orange */
    --ttpa-primary-contrast: #ffffff;
}

/* Container */
.ttpa-form-wrapper,
.ttpa-external-edit-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Mobile-first responsive padding */
@media (min-width: 640px) {
    .ttpa-form-wrapper,
    .ttpa-external-edit-wrapper {
        padding: 2.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .ttpa-form-wrapper,
    .ttpa-external-edit-wrapper {
        padding: 3rem 2rem;
    }
}

.ttpa-external-edit-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    padding: 2rem;
}

/* Responsive external edit container */
@media (min-width: 768px) {
    .ttpa-external-edit-container {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .ttpa-external-edit-container {
        padding: 3rem;
    }
}

.ttpa-external-edit {
    width: 100%;
}

.ttpa-external-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Responsive external header */
@media (max-width: 640px) {
    .ttpa-external-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
}

.ttpa-external-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

/* Responsive external title */
@media (max-width: 640px) {
    .ttpa-external-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
}

.ttpa-external-description {
    color: #6b7280;
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.7;
}

.ttpa-form-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Header */
.ttpa-form-header {
    position: relative;
    color: #ffffff;
    padding: 3.25rem 2rem;
    text-align: center;
    overflow: hidden;
    background-color: #0b1220; /* fallback while image loads */
    background-image:
        linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.45) 100%),
        url('../img/banner_ansokan_ttpa.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Hero header for report page - matching transparensmeddelande */
.ttpa-article .ttpa-form-header {
    position: relative;
    color: #ffffff;
    padding: 3.25rem 2rem;
    text-align: center;
    overflow: hidden;
    background-color: #0b1220; /* fallback while image loads */
    background-image:
        linear-gradient(180deg, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.5) 100%),
        url('../img/report_political_ad-min.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: -48px -20px 2rem -20px;
    border-radius: 16px 16px 0 0;
}

@media (min-width: 768px) {
    .ttpa-form-header {
        background-size: cover;
        background-position: center 30%;
    }
    
    .ttpa-article .ttpa-form-header {
        background-position: center center;
        padding: 4rem 2rem;
    }
}

/* Mobile responsiveness improvements */
@media (max-width: 767px) {
    .ttpa-article .ttpa-form-header {
        margin: -20px -10px 1.5rem -10px;
        padding: 2.5rem 1.5rem;
    }

    .ttpa-form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .ttpa-input,
    .ttpa-select,
    .ttpa-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem 1rem;
    }

    .ttpa-textarea {
        min-height: 100px;
    }
}

@media (max-width: 640px) {
    .ttpa-form-wrapper,
    .ttpa-external-edit-wrapper {
        padding: 1rem 0.75rem;
    }

    .ttpa-form {
        padding: 1.5rem;
    }

    .ttpa-form-header {
        padding: 2rem 1rem;
    }

    .ttpa-external-edit-container {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .ttpa-section-title {
        font-size: 1.25rem;
    }

    .ttpa-section-description {
        font-size: 0.875rem;
    }

    /* Better touch targets on mobile */
    .ttpa-input,
    .ttpa-select,
    .ttpa-textarea {
        min-height: 44px; /* iOS recommended minimum */
    }

    .ttpa-submit-btn {
        min-height: 48px; /* Better touch target */
    }

    /* Improve spacing for touch */
    .ttpa-form-section {
        margin-bottom: 1.75rem;
    }

    .ttpa-info-box {
        margin: 1rem 0;
    }
}

/* Hero copy for report page - matching transparensmeddelande */
.ttpa-article .ttpa-form-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: inline-block;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.ttpa-article .ttpa-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.75),
        0 0 2px rgba(0, 0, 0, 0.9),
        0 1px 3px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    line-height: 1.2;
}

.ttpa-article .ttpa-form-description {
    font-size: 1.125rem;
    margin: 0;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.7),
        0 0 2px rgba(0, 0, 0, 0.85),
        0 1px 3px rgba(0, 0, 0, 0.75);
    color: #ffffff;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .ttpa-article .ttpa-form-title {
        font-size: 1.75rem;
    }
    
    .ttpa-article .ttpa-form-description {
        font-size: 1rem;
    }
}

.ttpa-form-hero-copy {
    display: inline-block;
    max-width: 820px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.ttpa-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: #ffffff;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.75),
        0 0 2px rgba(0, 0, 0, 0.9),
        0 1px 3px rgba(0, 0, 0, 0.8);
}

.ttpa-form-description {
    font-size: 1.125rem;
    margin: 0;
    color: #ffffff;
    line-height: 1.6;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.7),
        0 0 2px rgba(0, 0, 0, 0.85),
        0 1px 3px rgba(0, 0, 0, 0.75);
}

/* Form */
.ttpa-ansok-form {
    padding: 0;
}

.ttpa-form {
    padding: 2rem;
}

/* Responsive form padding */
@media (min-width: 768px) {
    .ttpa-form {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .ttpa-form {
        padding: 3rem;
    }
}

/* Sections */
.ttpa-form-section {
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.ttpa-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.ttpa-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--ttpa-primary);
    display: inline-block;
}

.ttpa-section-description {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    max-width: 600px;
}

/* Responsive section titles */
@media (max-width: 640px) {
    .ttpa-section-title {
        font-size: 1.375rem;
    }

    .ttpa-section-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

/* Step illustrations removed - now shown as icons in stepper */

.ttpa-help-text {
    margin: 8px 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #64748b;
}

.ttpa-help-text strong {
    color: #334155;
    font-weight: 600;
}

/* Step 5: Upload UI */
.ttpa-upload-input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ttpa-upload-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    cursor: pointer;
    transition: all 160ms ease;
}

.ttpa-upload-card:hover {
    border-color: var(--ttpa-primary);
    background: #f1f5ff;
}

.ttpa-upload-card.is-dragover {
    border-color: #4f46e5;
    background: #eef2ff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.10);
}

.ttpa-upload-card.is-uploading {
    cursor: progress;
    opacity: 0.92;
}

.ttpa-upload-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--ttpa-primary);
    flex: 0 0 auto;
}

.ttpa-upload-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.ttpa-upload-title {
    font-weight: 700;
    color: #0f172a;
}

.ttpa-upload-sub {
    font-size: 0.9rem;
    color: #64748b;
}

.ttpa-upload-file {
    margin-top: 6px;
    font-size: 0.92rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ttpa-upload-btn {
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    flex: 0 0 auto;
    transition: all 150ms ease;
}

.ttpa-upload-btn:hover {
    background: #f8fafc;
}

.ttpa-upload-progress {
    margin-top: 10px;
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.ttpa-upload-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--ttpa-primary) 0%, var(--ttpa-success) 100%);
    width: 0%;
    transition: width 120ms ease;
}

/* Form Groups */
.ttpa-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.ttpa-form-row > * {
    min-width: 0;
}

.ttpa-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.ttpa-form-group:last-child {
    margin-bottom: 0;
}

.ttpa-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: block;
}

.ttpa-label::after {
    content: '';
}

/* Input Fields */
.ttpa-input,
.ttpa-select,
.ttpa-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.25s ease;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.5;
}

.ttpa-input:focus,
.ttpa-select:focus,
.ttpa-textarea:focus {
    outline: none;
    border-color: var(--ttpa-primary);
    box-shadow: 0 0 0 4px rgba(95, 156, 211, 0.12);
    transform: translateY(-1px);
}

.ttpa-input:hover,
.ttpa-select:hover,
.ttpa-textarea:hover {
    border-color: #d1d5db;
    transform: translateY(-0.5px);
}

.ttpa-textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Step 5: Live preview should feel like a real ad */
.ttpa-live-banner {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

.ttpa-ansok-form .ttpa-live-preview {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.ttpa-ansok-form .ttpa-live-banner img,
.ttpa-ansok-form #ttpa-preview-html img {
    max-height: 420px;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #ffffff;
}

/* Uploaded images grid */
.ttpa-uploaded-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    min-height: 120px;
}

/* Preview placeholder */
.ttpa-preview-placeholder {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ttpa-preview-placeholder:hover {
    border-color: var(--ttpa-primary);
    background: #f0f4ff;
    transform: translateY(-1px);
}

.ttpa-placeholder-content {
    text-align: center;
    color: #64748b;
}

.ttpa-placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.ttpa-placeholder-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.ttpa-placeholder-subtext {
    font-size: 14px;
    opacity: 0.8;
}

/* Individual uploaded image */
.ttpa-uploaded-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
    cursor: pointer;
}

.ttpa-uploaded-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.ttpa-uploaded-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.ttpa-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 15px 15px;
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.25s ease;
    text-align: center;
}

.ttpa-image-overlay small {
    font-size: 10px;
    opacity: 0.9;
}

.ttpa-uploaded-image:hover .ttpa-image-overlay {
    opacity: 1;
}

.ttpa-image-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 10;
}

.ttpa-uploaded-image:hover .ttpa-image-remove-btn {
    opacity: 1;
}

.ttpa-image-remove-btn:hover {
    background: rgba(185, 28, 28, 1);
    transform: scale(1.1);
}

.ttpa-image-remove-btn:active {
    transform: scale(0.95);
}

/* Preview overlay */
.ttpa-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttpa-preview-overlay-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.ttpa-preview-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ttpa-preview-close:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.ttpa-preview-large {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ttpa-large-banner {
    max-width: 100%;
    margin: 0;
}

.ttpa-large-banner img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.ttpa-ansok-form #ttpa-preview-html .ttpa-banner-wrap {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Required field indicator */
.ttpa-input[required] + .ttpa-label::after,
.ttpa-select[required] + .ttpa-label::after,
.ttpa-textarea[required] + .ttpa-label::after {
    content: ' *';
    color: #ef4444;
}

/* Checkbox styling */
.ttpa-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.ttpa-checkbox-label:hover {
    background: #f3f4f6;
    border-color: var(--ttpa-primary);
}

.ttpa-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--ttpa-primary);
}

.ttpa-checkbox-label span {
    font-weight: 500;
    color: #374151;
    user-select: none;
}

/* Messages */
.ttpa-messages {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    display: none;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.ttpa-messages.show {
    display: block;
}

.ttpa-messages::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
}

.ttpa-messages.success {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.ttpa-messages.success::before {
    background: #22c55e;
}

.ttpa-messages.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.ttpa-messages.error::before {
    background: #ef4444;
}

.ttpa-messages.success::after {
    content: '✓';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: bold;
    color: #22c55e;
}

.ttpa-messages.error::after {
    content: '⚠';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #ef4444;
}

/* Field validation states (shared for ansök + external edit) */
.ttpa-input.error,
.ttpa-select.error,
.ttpa-textarea.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
    background: #fef2f2;
    animation: shake 0.5s ease-in-out;
}

.ttpa-input.valid,
.ttpa-select.valid,
.ttpa-textarea.valid {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
    background: #f0fdf4;
    transition: all 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.ttpa-field-hint {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.35;
    color: #991b1b;
    font-weight: 500;
    opacity: 0;
    animation: fadeInError 0.3s ease forwards;
}

.ttpa-field-hint.is-valid {
    color: #065f46;
}

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

/* Enhanced error indicators */
.ttpa-input.error:focus,
.ttpa-select.error:focus,
.ttpa-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.ttpa-form-group.has-error .ttpa-label::after {
    content: ' ⚠️';
    color: #ef4444;
    font-weight: bold;
}

.ttpa-form-group.has-valid .ttpa-label::after {
    content: ' ✅';
    color: #22c55e;
    font-weight: bold;
}

/* Report page - matching transparensmeddelande styling */
.ttpa-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.ttpa-article > *:not(.ttpa-form-header) {
    padding: 0 20px;
}

.ttpa-article .ttpa-form {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    margin: 0 -20px 2rem -20px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.ttpa-article .ttpa-messages {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    margin: 0 -20px 2rem -20px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.ttpa-article h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    font-family: 'Arial', sans-serif;
}

.ttpa-article > p {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0.4rem 0;
}

.ttpa-report-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--ttpa-primary, #5f9cd3);
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    margin: 0 -20px 2rem -20px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.ttpa-report-eyebrow {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ttpa-report-sub {
    margin: 0.5rem 0 0 0;
    color: #555;
    font-size: 1rem;
}

.ttpa-report-preview {
    margin: 2rem 0;
    text-align: center;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    margin: 0 -20px 2rem -20px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.ttpa-report-links {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .ttpa-article {
        padding: 0;
    }
    
    .ttpa-article > *:not(.ttpa-form-header) {
        padding: 0 10px;
    }
    
    .ttpa-article .ttpa-form,
    .ttpa-article .ttpa-messages,
    .ttpa-report-header,
    .ttpa-report-preview {
        margin: 0 -10px;
        padding: 1.5rem;
        border-radius: 0 0 8px 8px;
    }
    
    .ttpa-article h2 {
        font-size: 1rem;
    }
    
    .ttpa-article > p {
        font-size: 0.9rem;
    }
}

/* Submit Button */
.ttpa-form-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

/* Responsive form actions */
@media (max-width: 640px) {
    .ttpa-form-actions {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }
}

.ttpa-submit-btn {
    background: var(--ttpa-accent);
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(230, 126, 34, 0.25);
    min-width: 200px;
    line-height: 1.4;
    display: inline-block;
    text-align: center;
}

/* Responsive button sizing */
@media (max-width: 640px) {
    .ttpa-submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* External edit form uses blue submit button */
.ttpa-external-edit .ttpa-submit-btn {
    background: #3b82f6;
    box-shadow: 0 10px 18px rgba(59, 130, 246, 0.25);
}

.ttpa-external-edit .ttpa-submit-btn:hover {
    background: #2563eb;
    box-shadow: 0 14px 26px rgba(59, 130, 246, 0.30);
}

.ttpa-submit-btn:hover {
    transform: translateY(-2px);
    background: var(--ttpa-accent);
    color: #ffffff !important;
    box-shadow: 0 14px 26px rgba(230, 126, 34, 0.30);
}

.ttpa-submit-btn:active {
    transform: translateY(0);
}

.ttpa-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #9ca3af !important;
    box-shadow: none !important;
}

/* Submit button validation states */
.ttpa-submit-btn.loading {
    background: #6b7280 !important;
    cursor: not-allowed;
    position: relative;
}

.ttpa-external-edit .ttpa-submit-btn.loading {
    background: #1e40af !important;
}

.ttpa-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes button-loading-spinner {
    from {
        transform: translateY(-50%) rotate(0turn);
    }
    to {
        transform: translateY(-50%) rotate(1turn);
    }
}

.ttpa-submit-btn.success {
    background: var(--ttpa-success) !important;
    animation: button-success 0.3s ease;
}

@keyframes button-success {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.ttpa-submit-btn.error {
    background: #ef4444 !important;
    animation: button-error 0.5s ease;
}

@keyframes button-error {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.ttpa-submit-loader {
    display: inline-block;
}

.ttpa-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Wizard */
.ttpa-stepper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 0 0 2.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.ttpa-stepper__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
    transition: all 0.2s ease;
}

@media (max-width: 768px) {
    .ttpa-stepper {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin: 0 0 1rem 0;
        overflow: visible;
    }
    
    .ttpa-stepper__item {
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e2e8f0;
        border: 2px solid #e2e8f0;
        color: #64748b;
        font-weight: 700;
        font-size: 0;
        line-height: 0;
        gap: 0;
        position: relative;
        overflow: hidden;
        text-indent: -9999px;
    }
    
    .ttpa-stepper__item span {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: transparent;
        color: inherit;
        font-size: 1rem;
        font-weight: 700;
        text-indent: 0;
        line-height: 1;
    }
    
    .ttpa-stepper__item.active {
        background: var(--ttpa-primary);
        border-color: var(--ttpa-primary);
        color: #ffffff;
    }
    
    .ttpa-stepper__item.active span {
        background: transparent;
        color: #ffffff;
    }
}

@media (max-width: 480px) {
    .ttpa-stepper {
        gap: 10px;
    }
    
    .ttpa-stepper__item {
        width: 40px;
        height: 40px;
    }
    
    .ttpa-stepper__item span {
        font-size: 0.9rem;
    }
}

/* Step header with icon */
.ttpa-step-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 1.5rem;
    position: relative;
}

.ttpa-step-header__text {
    flex: 1;
    min-width: 0;
}

.ttpa-step-header__icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
    position: absolute;
    right: 0;
    top: 0;
}

@media (max-width: 768px) {
    .ttpa-step-header__icon {
        display: none;
    }
}

.ttpa-stepper__item span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    flex-shrink: 0;
}

.ttpa-stepper__item.active {
    background: var(--ttpa-primary);
    color: #fff;
    border-color: var(--ttpa-primary);
}

.ttpa-stepper__item.active span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.ttpa-step {
    display: none;
}

.ttpa-step.active {
    display: block;
}

.ttpa-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 140px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ttpa-nav-next {
    background: var(--ttpa-accent);
    border-color: var(--ttpa-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(231, 126, 34, 0.3);
}

.ttpa-nav-next:hover {
    background: #d35400;
    border-color: #d35400;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(231, 126, 34, 0.4);
}

.ttpa-nav-prev {
    border-color: var(--ttpa-primary);
    color: var(--ttpa-primary);
}

.ttpa-nav-prev:hover {
    border-color: var(--ttpa-primary);
    background: var(--ttpa-primary);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(95, 156, 211, 0.3);
}

.ttpa-nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ttpa-pill {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
    margin-top: 6px;
}

.ttpa-info-box {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid var(--ttpa-primary);
}

/* Responsive info box */
@media (max-width: 640px) {
    .ttpa-info-box {
        margin: 1.25rem 0;
        padding: 1rem;
    }
}

.ttpa-info-text {
    margin: 0.5rem 0;
    color: #0c4a6e;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ttpa-info-text:first-child {
    margin-top: 0;
}

.ttpa-info-text:last-child {
    margin-bottom: 0;
}

.ttpa-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ttpa-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.ttpa-radio input {
    accent-color: var(--ttpa-primary);
}

.ttpa-checkbox-stack {
    display: grid;
    gap: 16px;
    margin: 1.5rem 0;
}

.ttpa-checkbox-stack .ttpa-checkbox-label {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.ttpa-checkbox-stack .ttpa-checkbox-label:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Radio button styling - matching checkbox pattern */
.ttpa-radio-stack {
    display: grid;
    gap: 16px;
    margin: 1.5rem 0;
}

.ttpa-radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.ttpa-radio-label:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
    background: #f9fafb;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.ttpa-radio-label:hover {
    background: #f3f4f6;
    border-color: var(--ttpa-primary);
}

.ttpa-radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--ttpa-primary);
}

.ttpa-radio-label span {
    font-weight: 500;
    color: #374151;
    user-select: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ttpa-form-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .ttpa-form-header {
        padding: 2rem 1.5rem;
    }
    
    .ttpa-form-title {
        font-size: 2rem;
    }
    
    .ttpa-form {
        padding: 1.5rem;
    }
    
    .ttpa-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ttpa-section-title {
        font-size: 1.25rem;
    }
    
    .ttpa-submit-btn {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .ttpa-form-title {
        font-size: 1.75rem;
    }
    
    .ttpa-form-description {
        font-size: 1rem;
    }
}

/* Loading state */
.ttpa-form.loading .ttpa-submit-btn {
    pointer-events: none;
}

/* Success animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.ttpa-messages.show {
    animation: slideInFromTop 0.4s ease-out;
}

/* Additional responsive improvements */
@media (max-width: 768px) {
    .ttpa-form-wrapper,
    .ttpa-external-edit-wrapper {
        padding: 2rem 1rem;
    }

    .ttpa-external-edit-container {
        padding: 2rem;
    }

    .ttpa-form {
        padding: 2rem;
    }

    .ttpa-form-row {
        gap: 1.5rem;
    }

    .ttpa-submit-btn {
        min-width: 200px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .ttpa-nav-btn {
        min-width: 120px;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .ttpa-info-box {
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 0;
    }
}

/* Print styles */
@media print {
    .ttpa-form-header {
        background: #667eea;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .ttpa-submit-btn {
        display: none;
    }
}

/* Admin Images Page Styles */
.ttpa-images-grid {
    display: grid;
    gap: 30px;
}

.ttpa-application-images {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.ttpa-application-images h3 {
    margin-top: 0;
    color: #1a365d;
}

.ttpa-application-images p {
    margin: 5px 0;
    color: #4a5568;
}

.ttpa-image-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.ttpa-image-item {
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    background: #f8fafc;
}

.ttpa-image-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
}

.ttpa-image-item p {
    margin: 0 0 4px 0;
    font-size: 12px;
    color: #4a5568;
    word-break: break-all;
}

.ttpa-upload-date {
    font-size: 11px !important;
    color: #718096 !important;
}

/* Admin Images Display */
.ttpa-admin-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.ttpa-admin-image-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    background: #ffffff;
    text-align: center;
}

.ttpa-admin-image-item img {
    border-radius: 6px;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.ttpa-admin-image-item img:hover {
    transform: scale(1.05);
}

.ttpa-image-info {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Celebration Effects */
.ttpa-celebration-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Falling Stars */
.ttpa-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffd700;
    border-radius: 50%;
    animation: star-fall 3s linear forwards;
    box-shadow: 0 0 6px #ffd700;
}

.ttpa-star:nth-child(odd) {
    background: #ff6b6b;
    box-shadow: 0 0 6px #ff6b6b;
}

.ttpa-star:nth-child(3n) {
    background: #4ecdc4;
    box-shadow: 0 0 6px #4ecdc4;
}

@keyframes star-fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Confetti Pieces */
.ttpa-confetti {
    position: absolute;
    width: 8px;
    height: 12px;
    animation: confetti-fall 4s linear forwards;
}

.ttpa-confetti:nth-child(5n+1) { background: #ff6b6b; }
.ttpa-confetti:nth-child(5n+2) { background: #4ecdc4; }
.ttpa-confetti:nth-child(5n+3) { background: #f9ca24; }
.ttpa-confetti:nth-child(5n+4) { background: #a29bfe; }
.ttpa-confetti:nth-child(5n+5) { background: #fd79a8; }

.ttpa-confetti.circle { border-radius: 50%; }
.ttpa-confetti.triangle {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 12px solid;
    background: none;
}
.ttpa-confetti.square { border-radius: 0; }

@keyframes confetti-fall {
    0% {
        transform: translateY(-20px) rotateX(0deg) rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotateX(720deg) rotateY(1080deg);
        opacity: 0;
    }
}

/* Fireworks Celebration */
.ttpa-fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.ttpa-firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: firework-explode 1.5s ease-out forwards;
}

.ttpa-firework:nth-child(1) { background: #ff6b6b; }
.ttpa-firework:nth-child(2) { background: #4ecdc4; }
.ttpa-firework:nth-child(3) { background: #45b7d1; }
.ttpa-firework:nth-child(4) { background: #f9ca24; }
.ttpa-firework:nth-child(5) { background: #f0932b; }
.ttpa-firework:nth-child(6) { background: #eb4d4b; }
.ttpa-firework:nth-child(7) { background: #6c5ce7; }
.ttpa-firework:nth-child(8) { background: #a29bfe; }
.ttpa-firework:nth-child(9) { background: #fd79a8; }
.ttpa-firework:nth-child(10) { background: #00b894; }
.ttpa-firework:nth-child(11) { background: #e17055; }
.ttpa-firework:nth-child(12) { background: #fdcb6e; }
.ttpa-firework:nth-child(13) { background: #e84393; }
.ttpa-firework:nth-child(14) { background: #00cec9; }
.ttpa-firework:nth-child(15) { background: #a29bfe; }
.ttpa-firework:nth-child(16) { background: #ffeaa7; }
.ttpa-firework:nth-child(17) { background: #fab1a0; }
.ttpa-firework:nth-child(18) { background: #74b9ff; }
.ttpa-firework:nth-child(19) { background: #fd79a8; }
.ttpa-firework:nth-child(20) { background: #6c5ce7; }

@keyframes firework-explode {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(8) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(15) rotate(360deg);
        opacity: 0;
    }
}

/* Success Animation */
.ttpa-success-celebration {
    position: relative;
    overflow: hidden;
}

.ttpa-success-celebration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(34, 197, 94, 0.1) 50%, transparent 70%);
    animation: success-glow 2s ease-out forwards;
    pointer-events: none;
    z-index: -1;
}

@keyframes success-glow {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 0;
        transform: scale(1.2) rotate(0deg);
    }
}

.ttpa-success-icon {
    font-size: 4rem;
    color: white;
    animation: success-bounce 1s ease-out;
    display: block;
    text-align: center;
    margin: 0 auto 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes success-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.ttpa-success-message {
    animation: success-fade-in 0.8s ease-out 0.3s both;
    background-image: url('../img/submitted.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white !important;
}

@keyframes success-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.ttpa-success-button {
    animation: success-fade-in 0.8s ease-out 0.6s both;
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #065f46;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.ttpa-success-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Admin Save Success Animation */
@keyframes ttpa-admin-firework-explode {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(10) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(20) rotate(360deg);
        opacity: 0;
    }
}

@keyframes ttpa-admin-confetti-fall {
    0% {
        transform: translateY(-10px) rotateX(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotateX(720deg);
        opacity: 0;
    }
}


/* Sparkle Effects */
.ttpa-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

.ttpa-sparkle:nth-child(2) { animation-delay: 0.2s; }
.ttpa-sparkle:nth-child(3) { animation-delay: 0.4s; }
.ttpa-sparkle:nth-child(4) { animation-delay: 0.6s; }
.ttpa-sparkle:nth-child(5) { animation-delay: 0.8s; }

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Pulse effect for the success container */
.ttpa-success-celebration {
    position: relative;
    overflow: hidden;
    animation: success-pulse 2s ease-in-out;
}

@keyframes success-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

