.campaign-create-footer-box {
    display: grid;
    gap: 60px;
}

.create-donation-box .create-donation-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 45px;
}

.create-donation-title span {
    font-size: var(--font-xxl);
    font-weight: 500;
    color: var(--primary-color);
}

.create-donation-box .create-donation-body-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 60px;
}

.create-donation-body-box .donation-body {
    background-color: #fff;
    border-radius: 32px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.donation-body .donation-body-text {
    display: grid;
    gap: 5px;
    font-size: var(--font-xxl);
    font-weight: 600;
    color: var(--primary-color);
}

.donation-body .donation-body-text span {
    font-size: var(--font-m);
    font-weight: 500;
    color: #767676;
}

#signatureArea,
#cmsSignatureArea {
    margin-top: 10px;
    width: 504px;
    height: 134px;
    color: #000000;
    background-color: #fff;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    cursor: crosshair;
    touch-action: none;
    overflow: hidden;
    box-sizing: content-box;
}

#signatureArea:hover,
#cmsSignatureArea:hover {
    border-color: #495057;
}

#signatureArea canvas,
#cmsSignatureArea canvas {
    border-radius: 6px;
    display: block;
}

.signature-area-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
}

.signature-area-wrapper .signature-label {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 5px;
}

.signature-area-wrapper .signature-label::before {
    content: "✍";
    font-size: 16px;
}

.signature-area-wrapper .authentication-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
    width: 100%;
}

.authentication-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.authentication-box span {
    font-size: 13px;
    font-weight: 400;
    color: #6c757d;
}

.authentication-box button {
    padding: 8px 20px;
    background-color: #5f5f61;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.authentication-box button:hover {
    background-color: #4a4a4c;
}

.authentication-box .add-file-box,
.signature-area-wrapper .add-file-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.add-file-box .file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.add-file-box .custom-file-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #495057;
    transition: all 0.2s ease;
}

.add-file-box .custom-file-upload:hover {
    background-color: #f8f9fa;
    border-color: #495057;
}

.add-file-box .file-name {
    font-size: 13px;
    color: #6c757d;
}

.add-file-box input[type="file"] {
    cursor: pointer;
}

/* 파일 업로드 영역 개선 */
.add-file-box .filelist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.add-file-box .filelist li {
    margin-top: 0 !important;
}

.add-file-box .custom-file {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: auto !important;
    margin-right: 10px !important;
}

.add-file-box .custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 40px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.add-file-box .custom-file-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    height: 40px;
    font-size: 13px;
    font-weight: 400;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 180px;
}

.add-file-box .custom-file-label::before {
    content: "파일 선택";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #fff;
    background-color: #5f5f61;
    border-radius: 0 5px 5px 0;
    font-size: 13px;
}

.add-file-box .custom-file:hover .custom-file-label {
    border-color: #495057;
}

.add-file-box .custom-file:hover .custom-file-label::before {
    background-color: #4a4a4c;
}

.add-file-box #addFileArea,
.add-file-box #cmsAddFileArea {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 출금의뢰 동의서 다운로드 버튼 */
.add-file-box > button {
    padding: 10px 20px;
    background-color: #5f5f61;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    height: 40px;
}

.add-file-box > button:hover {
    background-color: #4a4a4c;
}

/* <!------ Tabs-Show-Start -------> */
#tab_2_PayMethod {
    display: none;
}

#tab_PayMethod_1 {
    display: none;
}

#tab_PayMethod_2 {
    display: none;
}

#tab_PayMethod_3 {
    display: none;
}

#tab_PayMethod_4 {
    display: none;
}

#tab_PayMethod_5 {
    display: none;
}

#signatureBox {
    display: none;
}

#signature_1 {
    display: none;
}

#signature_2 {
    display: none;
}

#donorType_middle {
    display: none;
}

#donorType_middle_group {
    display: none;
}

.donorType_1 {
    display: none;
}

.donorType_2 {
    display: none;
}

/* <!------ Tabs-Show-End -------> */

@media (max-width: 1024px) {
    .create-donation-box .create-donation-body-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .create-donation-box .create-donation-body-box {
        grid-template-columns: repeat(1, 1fr);
    }

    .signature-area-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    #signatureArea,
    #cmsSignatureArea {
        margin-top: 10px;
        width: 280px;
        height: 134px;
        color: #000000;
        background-color: #fff;
        border: 2px dashed #ced4da;
        border-radius: 8px;
        cursor: crosshair;
        touch-action: none;
        overflow: hidden;
        box-sizing: content-box;
    }

    .create-donation-body-box .donation-body {
        background-color: #fff;
        border-radius: 16px;
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 20px;
        box-shadow: var(--shadow);
    }

}
