@charset "utf-8";

/* 참가신청 공통 스타일 */
.regform_container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}
.regform_container h3.sub_tit {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}
.regform_container h4.a_tit {
    font-size: 20px;
    margin: 40px 0 20px;
    font-weight: bold;
    position: relative;
}
.regform_container .essen_input {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 14px;
    color: #c00;
}
.regform_container .essen_input .essen {
    color: #c00;
    font-weight: bold;
}

.regform_container .agree_box {
    border: 1px solid #ddd;
    padding: 20px;
    background: #f9f9f9;
}
.regform_container .agree_box h4 {
    font-size: 18px;
    margin-bottom: 15px;
}
.regform_container .agree_con {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 15px;
}
.regform_container .agree_con h5 {
    font-weight: bold;
    margin-top: 20px;
}
.regform_container .agree_con ul {
    list-style: none;
    padding-left: 15px;
}
.regform_container .agree_con ul li {
    margin: 5px 0;
    padding-left: 10px;
    position: relative;
}
.regform_container .agree_con ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #888;
}

/* 테이블 타입1 */
.regform_container .table_type1 table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.regform_container .table_type1 th,
.regform_container .table_type1 td {
    border: 1px solid #ddd;
    padding: 10px;
}
.regform_container .table_type1 th {
    background: #f0f0f0;
    font-weight: bold;
    text-align: left;
}
.regform_container .table_type1 th.th_red {
    background: #eaeaea;
    color: #c00;
    text-align: center;
}

/* 부스 선택 가격표 */
.regform_container .select_booth select {
    width: 100%;
    padding: 5px;
}
.regform_container .total_price input {
    text-align: right;
    background: #f5f5f5;
}

/* 입금 계좌 테이블 */
.regform_container .text-center {
    text-align: center;
}
.regform_container .small {
    font-size: 13px;
    color: #777;
}

/* 버튼 스타일 */
.regform_container .btn_wrap {
    margin-top: 30px;
}
.regform_container .btn_wrap .btn {
    background: #004aad;
    color: #fff;
    border: none;
    padding: 0px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}
.regform_container .btn_wrap .btn:hover {
    background: #00397d;
}

.regform_check_form { max-width: 600px; margin: 0 auto; }
.regform_check_form input[type="text"] { width: 100%; padding: 8px; margin: 5px 0; }
.regform_check_form .btn_submit { margin-top: 10px; }
.regform_result_box { margin-top: 30px; background: #f9f9f9; padding: 20px; border-radius: 10px; }


/* 반응형 대응 */
@media screen and (max-width: 768px) {
    .regform_container h3.sub_tit {
        font-size: 22px;
    }

    .regform_container .agree_con {
        max-height: 300px;
    }

    .regform_container .table_type1 table,
    .regform_container .table_type1 thead,
    .regform_container .table_type1 tbody,
    .regform_container .table_type1 th,
    .regform_container .table_type1 td,
    .regform_container .table_type1 tr {
        display: block;
    }

    .regform_container .table_type1 th,
    .regform_container .table_type1 td {
        width: 100%;
        box-sizing: border-box;
        padding: 8px;
    }

    .regform_container .btn_wrap .btn {
        width: 100%;
    }
}





/* 관리자 신청 목록 테이블 */
.admin_reserv_container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.admin_reserv_container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.admin_reserv_container table.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 15px;
}

.admin_reserv_container table.table thead {
    background-color: #004aad;
    color: #fff;
}

.admin_reserv_container table.table th,
.admin_reserv_container table.table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: center;
}

.admin_reserv_container table.table th {
    font-weight: bold;
}

.admin_reserv_container table.table td a {
    color: #004aad;
    text-decoration: underline;
}

.admin_reserv_container table.table td a:hover {
    color: #003080;
}

.btn_excel_download {
    display: inline-block;
    background: #28a745;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}
.btn_excel_download:hover {
    background: #218838;
}

a.reserv_btn_delete {
    color: #c00 !important;
}
a.reserv_btn_delete:hover {
    text-decoration: underline;
}

.reserv_icon_btn {
  display: inline-block;
  margin: 0 5px;
  font-size: 18px;
  color: #004aad;
}
.reserv_icon_btn:hover {
  color: #003080;
}
.reserv_icon_btn.reserv_delete {
  color: #c00;
}
.reserv_icon_btn.reserv_delete:hover {
  color: #900;
}


/* 반응형 처리 */
@media screen and (max-width: 768px) {
    .admin_reserv_container table.table,
    .admin_reserv_container table.table thead,
    .admin_reserv_container table.table tbody,
    .admin_reserv_container table.table th,
    .admin_reserv_container table.table td,
    .admin_reserv_container table.table tr {
        display: block;
    }

    .admin_reserv_container table.table thead {
        display: none;
    }

    .admin_reserv_container table.table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
    }

    .admin_reserv_container table.table td {
        text-align: left;
        padding-left: 50%;
        position: relative;
        font-size: 14px;
    }

    .admin_reserv_container table.table td::before {
        position: absolute;
        top: 10px;
        left: 12px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        color: #666;
    }

    /* 각 항목 이름 매핑 */
    .admin_reserv_container table.table td:nth-of-type(1)::before { content: "ID"; }
    .admin_reserv_container table.table td:nth-of-type(2)::before { content: "업체명"; }
    .admin_reserv_container table.table td:nth-of-type(3)::before { content: "대표자"; }
    .admin_reserv_container table.table td:nth-of-type(4)::before { content: "연락처"; }
    .admin_reserv_container table.table td:nth-of-type(5)::before { content: "부스 수"; }
    .admin_reserv_container table.table td:nth-of-type(6)::before { content: "신청일"; }
    .admin_reserv_container table.table td:nth-of-type(7)::before { content: "관리"; }
}


/* 관리자 신청 상세 정보 페이지 */
.admin_reserv_view {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 30px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.admin_reserv_view h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}

.admin_reserv_view ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin_reserv_view ul li {
    padding: 14px 10px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.admin_reserv_view ul li strong {
    width: 160px;
    font-weight: bold;
    color: #003080;
    flex-shrink: 0;
}

.admin_reserv_view ul li a {
    color: #004aad;
    text-decoration: underline;
}

.admin_reserv_view ul li a:hover {
    color: #003080;
}

.admin_reserv_view ul li:last-child {
    border-bottom: none;
}

.btn_wrap {
    text-align: center;
    margin-top: 30px;
}
.btn_wrap .btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #004aad;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}
.btn_wrap .btn:hover {
    background-color: #003080;
}

/* 반응형 대응 */
@media screen and (max-width: 768px) {
    .admin_reserv_view {
        padding: 25px 15px;
    }

    .admin_reserv_view ul li {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 5px;
    }

    .admin_reserv_view ul li strong {
        width: 100%;
        margin-bottom: 5px;
    }

    .btn_wrap .btn {
        width: 100%;
        box-sizing: border-box;
    }
}