.fi-ta-ctn {
    overflow: visible !important;
}

.affiliate-resume-step-index {
    margin-top: 0.125rem;
    background-color: #374151;
    color: #fff;
}

.dark .affiliate-resume-step-index {
    background-color: #e5e7eb;
    color: #111827;
}

/*
 * The affiliate dashboard's "resume" widget is rendered inside Filament's
 * precompiled CSS bundle, which only ships the Tailwind utility classes
 * Filament's own package views happen to use. Most spacing/grid utilities
 * (space-y-*, gap-y-*, border-b, pb-*, grid-cols-3, divide-*) are silently
 * absent there, so the widget's layout is written as plain CSS instead.
 */
.affiliate-resume-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1.75rem;
}

.affiliate-resume-grid > * + * {
    padding-top: 1.75rem;
    border-top: 1px solid #e5e7eb;
}

.dark .affiliate-resume-grid > * + * {
    border-top-color: #374151;
}

@media (min-width: 768px) {
    .affiliate-resume-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
        row-gap: 0;
    }

    .affiliate-resume-grid > * + * {
        padding-top: 0;
        border-top: 0;
        padding-left: 2rem;
        border-left: 1px solid #e5e7eb;
    }

    .dark .affiliate-resume-grid > * + * {
        border-left-color: #374151;
    }
}

.affiliate-resume-heading {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.dark .affiliate-resume-heading {
    border-bottom-color: #374151;
}

.affiliate-resume-section > * + * {
    margin-top: 1rem;
}

.affiliate-resume-steps > li + li {
    margin-top: 0.75rem;
}

.affiliate-resume-billing > p + p {
    margin-top: 0.25rem;
}

.affiliate-resume-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.affiliate-resume-downloads .fi-btn {
    width: 100%;
    justify-content: center;
}
