#qna-page .card-main div:nth-child(1)>span::before,
#audit-page .card-main div:nth-child(1)>span::before,
#contract-page .card-main div:nth-child(1)>span::before,
#standard-page .card-main div:nth-child(1)>span::before,
#regulatory-page .card-main div:nth-child(1)>span::before,
#bims-page .card-main div:nth-child(1)>span::before{
    content: "";
    position: absolute;
    top: -4px;
    left: -9px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    z-index: -1;
    background-color: var(--Secondary-Yellow-400);
}

.dark-page #qna-page .card-main div:nth-child(1)>span::before,
.dark-page #audit-page .card-main div:nth-child(1)>span::before,
.dark-page #contract-page .card-main div:nth-child(1)>span::before,
.dark-page #standard-page .card-main div:nth-child(1)>span::before,
.dark-page #regulatory-page .card-main div:nth-child(1)>span::before,
.dark-page #bims-page .card-main div:nth-child(1)>span::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -9px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    z-index: 1;
    background-color: var(--Secondary-Yellow-100);
}


#qna-page .card-main div:nth-child(2) div div:nth-child(1),
#audit-page .card-main div:nth-child(2) div div:nth-child(1) {
    background-color: var(--Gray-Gray-400);
    border-radius: 4rem;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--Gray-Not-White);
}

.dark-page #qna-page .card-main div:nth-child(2) div div:nth-child(1),
.dark-page #audit-page .card-main div:nth-child(2) div div:nth-child(1) {
    background-color: var(--Gray-Gray-200);
    border-radius: 4rem;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--Gray-Not-White);
}


.card-main #btn-process,
.card-main #btn-save-audit,
.card-main #btn-full-report,
.card-main #upload-button {
    background: var(--Light-Gradient);
    border: 1px solid var(--Light-Gradient);
    color: var(--Gray-Not-White);
    width: fit-content;
}


.dark-page .card-main #btn-process,
.dark-page .card-main #btn-save-audit,
.dark-page .card-main #btn-full-report,
.dark-page .card-main #upload-button {
    background: var(--Dark-Gradient);
    border: 1px solid var(--Light-Gradient);
    color: var(--Gray-Not-White);
    width: fit-content;
}

.card-main #btn-clear {
    /* background: var(--Gray-Not-White); */
    border: 1px solid var(--Gray-Night);
    color: var(--Gray-Night);
    width: fit-content;
}

.dark-page .card-main #btn-clear {
    background: var(--Gray-Night);
    border: 1px solid var(--Light-Gradient);
    color: var(--Gray-Not-White);
    width: fit-content;
}

.card-main #btn-error {
    background: var(--Error-100);
    border: 1px solid var(--Error-100);
    color: var(--Error-600);
    width: fit-content;
}

.card-main #btn-success {
    background: var(--Success-100);
    border: 1px solid var(--Success-100);
    color: var(--Success-600);
    width: fit-content;
}

/* audit */
#audit-page #btn-add {
    color: var(--Gray-Gray-850)
}

.dark-page #audit-page #btn-add {
    color: var(--Gray-Not-White)
}

.checklist-item {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#audit-page .remove-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18.5px;
    gap: 8px;
    background-color: var(--Error-50);
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#audit-page .remove-btn:hover {
    background-color: var(--Error-100);
}

#contract-page .remove-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18.5px;
    gap: 8px;
    background-color: var(--Error-50);
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contract-page .remove-btn:hover {
    background-color: var(--Error-100);
}

#regulatory-page .remove-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18.5px;
    gap: 8px;
    background-color: var(--Error-50);
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#regulatory-page .remove-btn:hover {
    background-color: var(--Error-100);
}

#standard-page .remove-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18.5px;
    gap: 8px;
    background-color: var(--Error-50);
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#standard-page .remove-btn:hover {
    background-color: var(--Error-100);
}

/* Placeholder styling */
.custom-textarea::placeholder {
    color: #b4b4d0;
    font-style: italic;
}

#downloadLink {
    color: var(--Gray-Not-Black);
    background-color: var(--Gray-Gray-500);
}

.dark-page #downloadLink {
    color: var(--Gray-Not-White);
    background-color: var(--Gray-Night);
}

.download-container {
    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    gap: 24px;

    width: 764px;
    height: 70px;

    background: rgba(180, 180, 208, 0.16);
    border: 1px solid rgba(180, 180, 208, 0.16);
    border-radius: 8px;

    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.file-info {
    color: var(--Gray-Night);
}

.dark-page.file-info {
    color: var(--Gray-Not-White);
}

.download-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.download-icon {
    width: 20px;
    height: 20px;
}

#analyse-Similarity tr:nth-child(1){
    border-bottom: 1px solid var(--Gray-Gray-400);
 }
.dark-page #analyse-Similarity tr:nth-child(1){
   border-bottom: 1px solid var(--Gray-Gray-200);
}

#analyse-Similarity tr td:nth-child(1){
    border-right: 1px solid var(--Gray-Gray-400);
 }
.dark-page #analyse-Similarity tr td:nth-child(1){
   border-right: 1px solid var(--Gray-Gray-200);
}
