.td-cat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.td-cat-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 999;
}

.td-cat-modal-close {
    position: absolute !important;
    color: #666 !important;
    top: 5px;
    right: 5px;
    background: transparent !important;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.td-cat-modal-close:hover {
    color: #000;
}

.td-files-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.td-file-item {
    margin: 10px 0;
}

.td-view-documents {
    display: inline-block;
    text-decoration: none;
}


.thank-you-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--td-primary, #1890ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-icon::after {
    content: '✓';
    color: white;
    font-size: 40px;
}

.thank-you-message h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.thank-you-message p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}