/* 입금자 찾기 페이지 스타일 */

#findDepositor {
    padding: 20px 0 163px;
}

.find-depositor-container {
    max-width: 100%;
}

.w-800 {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 공지사항 뱃지 */
.fd-badge {
    margin-bottom: 12px;
}

.fd-notice-badge {
    color: #1351F6;
    font-family: Pretendard;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 15.6px */
    border-radius: 4px;
    background: #EDF3FF;
    display: inline-flex;
    padding: 2px 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* 제목 섹션 */
.fd-title-section {
/*    margin-bottom: 20px;*/
}

.fd-title {
    color: #000;
    font-family: Pretendard;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 31.2px */
    margin: 0;
    padding-bottom: 20px;
}

/* 보더 */
.fd-border {
    margin-bottom: 20px;
}

.fd-border-line {
    width: 100%;
    height: 1px;
    background-color: #eee;
}

/* 안내 문구 + 버튼 섹션 */
.fd-info-section {
    margin-bottom: 40px;
}

.fd-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.fd-info-text {
    flex: 1;
}

.fd-info-text p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

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

.fd-info-button {
    flex-shrink: 0;
}

.fd-btn-inquire {
    color: #FFF;
    text-align: center;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 19.6px */
    display: flex;
    min-width: 170px;
    height: 52px;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: #000;
    text-decoration: none;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.fd-btn-inquire:hover {
    background-color: #333;
}

/* 테이블 섹션 */
.fd-table-section {
    margin-bottom: 30px;
}

.fd-table-wrapper {
    overflow-x: auto;
}

.fd-table {
    width: 100%;
    border-collapse: collapse;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #EEE;
}

.fd-table thead {
    background-color: transparent;
}

.fd-table th {
    padding: 14px 16px;
    height: 66px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #EEE;
    color: #000;
    vertical-align: middle;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%; /* 25.6px */
}

/* 첫 번째 열 (입금일자): 좌측 정렬 */
.fd-table th:nth-child(1),
.fd-table td:nth-child(1) {
    text-align: left;
}

.fd-table th:nth-child(1) {
    padding-left: 31px; /* 기본 16px + 4px */
}

/* 두 번째 열 (입금자명): 중앙 정렬 */
.fd-table th:nth-child(2),
.fd-table td:nth-child(2) {
    text-align: center;
}

/* 세 번째 열 (입금액): 우측 정렬 */
.fd-table th:nth-child(3),
.fd-table td:nth-child(3) {
    text-align: right;
}

.fd-table th:nth-child(3) {
    padding-right: 25px; /* 기본 16px + 4px */
}

.fd-table td {
    padding: 14px 16px;
    height: 67px;
    border-bottom: 1px solid #EEE;
    vertical-align: middle;
}

.fd-table tbody tr:last-child td {
    border-bottom: none;
}

.fd-table tbody tr:hover {
    background-color: #fafafa;
}

/* 날짜 셀 스타일 */
.fd-date-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fd-calendar-icon {
    flex-shrink: 0;
}

.fd-date-text {
    color: #000;
    font-family: Pretendard;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 19.5px */
    letter-spacing: -0.3px;
}

/* 이름 뱃지 스타일 */
.fd-name-badge {
    color: #000;
    font-family: Pretendard;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 19.5px */
    letter-spacing: -0.3px;
    display: inline-flex;
    padding: 4px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    background: #F4F5F8;
}

/* 금액 셀 스타일 */
.fd-price-cell {
    color: #000;
    text-align: right;
    font-family: Pretendard;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 19.5px */
    letter-spacing: -0.3px;
}

.fd-table-empty {
    text-align: center;
    color: #555;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
    padding: 40px 20px !important;
}

/* 페이지네이션 */
.fd-pagination-section {
    margin-top: 40px;
}

.fd-pagination-section .custom-pagination {
    margin-top: 0;
}

.fd-pagination-section .custom-pagination .page-numbers {
    display: flex;
    justify-content: center;
    list-style-type: none;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.fd-pagination-section .custom-pagination .page-numbers li {
    width: 30px;
    height: 30px;
    color: #aaa;
    border-radius: 4px;
    font-size: 13px;
}

.fd-pagination-section .custom-pagination .page-numbers li a,
.fd-pagination-section .custom-pagination .page-numbers li span {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    color: currentColor;
}

.fd-pagination-section .custom-pagination .page-numbers .prev a,
.fd-pagination-section .custom-pagination .page-numbers .next a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fd-pagination-section .custom-pagination .page-numbers .prev {
    margin-right: 12px;
}

.fd-pagination-section .custom-pagination .page-numbers .next {
    margin-left: 12px;
}

.fd-pagination-section .custom-pagination .page-numbers li:hover:not(.prev):not(.next) {
    background-color: #F7FAFC;
    color: #000;
}

.fd-pagination-section .custom-pagination .page-numbers li.current {
    background-color: #F7FAFC;
    color: #000;
    font-weight: 500;
}

/* 반응형 */
@media (max-width: 768px) {
    #findDepositor {
        padding-top: 10px;
        padding-bottom: 56px;
    }

    .w-800 {
        padding: 0 20px;
    }

    /* 공지사항 뱃지 */
    .fd-badge {
        margin-bottom: 12px;
    }

    /* 제목 */
    .fd-title-section {
        margin-bottom: 0;
    }

    .fd-title {
        font-size: 20px;
        font-weight: 700;
        line-height: 160%; /* 32px */
        padding-bottom: 16px;
    }

    /* 안내 문구 + 버튼 섹션 */
    .fd-info-section {
        margin-bottom: 0;
    }

    .fd-info-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .fd-info-text {
        margin-bottom: 16px;
    }

    .fd-info-text p {
        font-family: Pretendard;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 160%; /* 22.4px */
    }

    .fd-info-button {
        width: 100%;
        margin-bottom: 16px;
    }

    .fd-btn-inquire {
        width: 100%;
        padding: 16px;
    }

    /* 테이블 */
    .fd-table th {
        height: 50px;
        font-family: Pretendard;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%; /* 18.2px */
        letter-spacing: -0.28px;
    }

    .fd-table th:nth-child(1) {
        padding-left: 0;
    }

    .fd-table th:nth-child(3) {
        padding-right: 0;
    }

    .fd-table td {
        height: 59px;
    }

    .fd-table td:nth-child(1) {
        padding-left: 0;
    }

    .fd-table td:nth-child(3) {
        padding-right: 0;
    }

    /* 날짜 부분 */
    .fd-date-text {
        color: #000;
        font-family: Pretendard;
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%; /* 19.5px */
        letter-spacing: -0.3px;
    }

    /* 이름 부분 */
    .fd-name-badge {
        color: #000;
        font-family: Pretendard;
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%; /* 19.5px */
        letter-spacing: -0.3px;
        display: inline-flex;
        padding: 4px 20px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 50px;
        background: #F4F5F8;
    }

    /* 금액 부분 */
    .fd-price-cell {
        color: #000;
        text-align: right;
        font-family: Pretendard;
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%; /* 19.5px */
        letter-spacing: -0.3px;
    }
}
