@charset "UTF-8";

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.kipris-popup {
	display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
}

.kipris-popup-header {
    background-color: #1F323A;
    color: white;
    padding: 15px 20px;
    position: relative;
    font-weight: bold;
}

.kipris-popup-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: white;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.kipris-popup-content {
    padding: 30px 25px;
    text-align: center;
    line-height: 1.6;
    font-size: 16px;
}

.kipris-popup-highlight {
    font-weight: 700;
    color: #e74c3c;
}

.kipris-popup-buttons {
    display: flex;
    padding: 0 25px 25px;
    justify-content: center;
    gap: 15px;
}

.kipris-popup-button {
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.kipris-popup-button-primary {
    background-color: #1F323A;
    color: white;
}

.kipris-popup-button-secondary {
    background-color: #e7e7e7;
    color: #333;
}

.kipris-popup-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.kipris-popup-overlay {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}
#loadingDiv {
    width: 100%;
	height: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.8);

}

#loadingDiv img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
}

.popup-applicant-code{
	display: flex;
	justify-content: space-between;
	gap: 10px;
}



.popup-applicant-code .popup-input-applicant-code{
	width: 80% !important;
	margin-top: 0px !important;
}
.popup-applicant-code .popup-btn-member-id{
	width: 18%;
	height: 50px !important;
}
.patentList td,
.brandList td,
.designList td {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patentList td:first-child,
.patentList td:last-child,
.brandList td:first-child,
.brandList td:last-child,
.designList td:first-child,
.designList td:last-child,
td.text-center {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

#popupInsertInner input[type="text"],
#popupInsertInner textarea,
#popupInsertInner select {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

select[disabled],
input[readonly] {
    cursor: not-allowed;
    opacity: 0.6;
}

.step-exp-container {
	font-size: 15px;
	background-color: #f4f4f4;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.step-exp-container .step-exp-title{
	font-size: 30px;
}

.mypage-step-container {
    display: flex;
    flex-direction: row;
    height: 100px;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px 0;
    background-color: #fff;
    border-radius: 8px;
    gap: 12px;
}

.mypage-step-container .mypage-step-item {
   display: flex;
   flex-direction: column;
   width: 23%;
   align-items: center;
   justify-content: center;
   text-align: center;
   border: 1px solid #ccc;
   border-radius: 5px;
   padding: 15px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
   cursor: pointer;
}

.mypage-step-item:hover {
    background-color: #f5f5f5;
}

.mypage-step-item.patActive {
    background-color: #1f323a;
}

.mypage-step-item.patActive h2,
.mypage-step-item.patActive p {
    color: white;
}

.mypage-step-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.mypage-step-item h2 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.applicantcode-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.applicantcode-popup-container {
    background: white;
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
}

.applicantcode-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.applicantcode-popup-title {
    font-size: 18px;
    font-weight: bold;
}

.applicantcode-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.applicantcode-popup-content {
    padding: 20px;
}

/* 검색 영역 스타일 */
.search-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.applicant-search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.applicant-search-input:focus {
    outline: none;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.applicant-search-btn,
.select-button{
    padding: 8px 16px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.applicant-search-btn:hover {
    background-color: #0b5ed7;
}

.search-result-area {
    min-height: 200px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
}

.popup-member-id {
    display: flex;
    justify-content: space-between;
}
.popup-member-id .popup-input-member-id {
    width: 85% !important;
}
#insertBtn{
	margin-right: 5px;
}

.popup-btn-member-id{
	background-color: #1f323a;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.text-center {
    text-align: center !important;
    padding: 20px 0;
}

/* 공통 레이아웃 */
.patentList input[type="checkbox"],
.brandList input[type="checkbox"],
.designList input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0 auto;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    padding: initial !important;
    margin: 0 auto !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

/* 전체 선택 체크박스 스타일 */
#selectAll {
    width: 16px;
    height: 16px;
    cursor: pointer;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    padding: initial !important;
    margin: 0 auto !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}
.container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 1;
}

#container2{
	position: relative;
    max-width: 1600px;
     min-height: calc(100vh - 80px);
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 1;
	
}

.header_empty_space {
    height: 80px;
    width: 100%;
    clear: both;
    display: block;
}

/* 헤더 */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 1000;
}

/* 탭 네비게이션 */
.content-tab-box {
    display: flex;
    width: 100%;
    height: 50px;
    margin-bottom: 30px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.tab-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34%;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button a {
    color: #666;
    font-size: 16px;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-button.active {
    background-color: #1f323a;
}

.tab-button.active a {
    color: #fff;
}

/* 검색 섹션 */
.searchTable {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 2px solid #a7a7a7;
    border-bottom: 2px solid #a7a7a7;
    padding: 50px 0;
    gap: 20px;
    background: #f4f4f4;
    margin-bottom: 40px;
}

.searchTable .st-search {
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.searchTable .st-search input[type="text"] {
    width: 50%;
    height: 40px;
    border: 1px solid #ccc;
    padding: 5px;
    background: #fff;
}

.searchTable .st-search input[type="text"]::placeholder {
    color: #888;
}

.searchTable .st-search input[type="submit"] {
    width: 80px;
    height: 40px;
    background: #1F323A;
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.searchTable .st-ds {
    align-items: center;
    gap: 10px;
}

.searchTable .st-ds .st-date input {
    height: 34px;
    border: 1px solid #ccc;
    padding: 0 10px;
}

.searchTable .st-ds .st-status ul {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.searchTable .st-ds .st-status ul li label {
    cursor: pointer;
}

.searchTable .st-ds .st-status ul li label span {
    border: 1px solid #a3a3a3;
    padding: 7px 9px;
    display: inline-block;
    transition: all 0.3s;
    border-radius: 4px;
}

.searchTable .st-ds .st-status ul li label input[type="radio"]:checked ~ span,
.searchTable .st-ds .st-status ul li label input[type="checkbox"]:checked ~ span {
    background: #1F323A;
    color: #fff;
}

/* 테이블 컨테이너 */
.table-container {
    width: 100%;
    overflow-x: auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    scrollbar-width: thin;
    scrollbar-color: #1f323a #f0f0f0;
}

.updateAllContainer{
	display: flex;
	justify-content: flex-end;
	margin-bottom: 5px;
}

.updateAllContainer .updateAll{
	width: 100px;
	height: 50px;
	border-radius: 5px;
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
	cursor: pointer;
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #1f323a;
    border-radius: 4px;
}

/* 공통 테이블 스타일 */
.patentList, .brandList, .designList {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1000px;
}

.patentList th, .brandList th, .designList th {
    padding: 15px;
    text-align: center;
    background-color: #1f323a;
    color: white;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.patentList td, .brandList td, .designList td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
}

/*메모 칸 ... 표시*/
.patentList td:nth-child(9), 
.brandList td:nth-child(10), 
.designList td:nth-child(9) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patentList tr:hover, .brandList tr:hover, .designList tr:hover {
    background-color: #f5f5f5;
}

/* 체크박스 스타일 */
.patentList input[type="checkbox"],
.brandList input[type="checkbox"],
.designList input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0 auto;
}

/* 결과 카운트 및 페이지 사이즈 */
.total-txt {
    color: #c78e7d;
    font-weight: 700;
}

.paging-size {
    border: 1px solid #a3a3a3;
    width: 120px;
    height: 34px;
    text-align: center;
    border-radius: 4px;
}

/* 버튼 스타일 */
.btn {
    color: white;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    border: none;
}

.btn-danger {
    background-color: #dc3545;
}

.btnInsertPop {
    background-color: #1f323a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    border: none;
}

.btn-patent-request{
    padding: 10px;
    background-color: #1F323A;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* 페이지네이션 */
.board_Pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 5px;
}

.board_Pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.board_Pagination a.on {
    background-color: #1f323a;
    color: #fff;
    border-color: #1f323a;
}

.board_Pagination a:hover:not(.on) {
    background-color: #f4f4f4;
}

/* 이미지 셀 */
.image-cell {
    position: relative;
    width: 100px;
    height: 100px;
    padding: 5px;
}

.image-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-cell .hover-img {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 4px;
}

.image-cell:hover .hover-img {
    display: block;
}

/* 팝업 스타일 */
#popupInsert, #popupInsert2 {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    top: 0;
    left: 0;
}

#popupInsertInner {
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    padding: 30px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

#popupInsertInner table {
    width: 100%;
    border-collapse: collapse;
}

#popupInsertInner table tr td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

#popupInsertInner table tr td:first-child {
    width: 150px;
    font-weight: 500;
    color: #333;
    background-color: #f8f9fa;
}

#popupInsertInner input[type="text"],
#popupInsertInner select,
#popupInsertInner textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

#popupInsertInner textarea {
    min-height: 100px;
    resize: vertical;
}

#popupInsertInner select {
    height: 40px;
    background-color: white;
}

/* 팝업 파일 업로드 */
#fileNameDisplay {
    margin-top: 10px;
    border: 1px solid #ccc;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
}

#fileListDisplay {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

/* 팝업 버튼 */
.popup-button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

#popupInsertSave,
#popupInsertClose {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

#popupInsertSave {
    background-color: #1f323a;
    color: white;
}

#popupInsertClose {
    background-color: #7d7d7d;
    color: white;
}

#popupInsertSave:hover,
#popupInsertClose:hover {
    opacity: 0.9;
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
    .content-tab-box {
        flex-wrap: wrap;
        height: auto;
    }
    
    .tab-button {
        width: 50%;
        height: 44px;
    }
    
    .table-container {
        margin: 10px -15px;
        border-radius: 0;
    }
    
    .searchTable .st-search input[type="text"] {
        width: 100%;
    }

    #popupInsertInner {
        width: 95%;
        padding: 20px;
    }
    
    .board_Pagination {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 480px) {
    .tab-button {
        width: 100%;
    }
    
    .searchTable .st-ds {
        flex-direction: column;
        align-items: stretch;
    }
    
    .searchTable .st-ds .st-status ul {
        justify-content: center;
    }
    
    .popup-button-container {
        flex-direction: column;
    }
    
    #popupInsertSave,
    #popupInsertClose {
        width: 100%;
    }
    
    .board_Pagination a:not(.on):not(.prev):not(.next) {
        display: none;
    }
}