@charset "utf-8";
@import url('style.css');


/* 요소 */
input[type="text"] {
    width: 200px;
}
input[type="text"], select {
    border-radius: 10px;
	background: var(--color-bg3) !important;
	color: var(--color-text) !important;
}

.ui-btn, .pg_page {
    border-radius: 10px;
    background: var(--color-bg1) !important;
    border: 2px groove #000 !important;
    width: 40px !important;
    padding: 0 !important;
}

.ui-btn.admin {
background: #181818 !important;
    border: 2px groove #000 !important;
    width: 40px !important;
    padding: 0 !important;
    color: var(--color-text) !important;
}

.pg_wrap .pg_end:before {
    font-family: 'NanumSquare';
    font-size: 12px !important;
}

.cha-ui-btn .ui-btn {
    font-size: 14px;
    line-height: 23px;
}

.ui-btn:hover {
    background: var(--color-bg3) !important;
    color: var(--color-accent) !important;
    filter: drop-shadow(0px 0px 4px rgba(200, 190, 180, 0.4));
}

/* 카테고리 */
nav.cha-board-category {
    display: flex;
    gap: 3px;
    margin-bottom: 3px;
}

.cate-btn {
    display: block;
    border-radius: 10px;
    background: var(--color-bg1);
    color: var(--color-text);
    border: 1px inset var(--color-bg1);
    min-width: 30px;
    max-width: 80px;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    font-family: 'NanumSquare';
}

.cate-btn:hover {
    background: var(--color-bg2);
    color: var(--color-text);
    border: 1px inset var(--color-bg1);
    min-width: 30px;
    max-width: 80px;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    font-family: 'NanumSquare';
}

/* 리스트 시작 */
.cha-guide {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

.list_row {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cha_card {
	position: relative;
    overflow: hidden;
    border: 2px groove #000;
    border-radius: 15px;
    margin: 5px 3px;
    padding: 5px;
	filter: brightness(0.6) drop-shadow(1px 3px 0px rgba(0, 0, 0, 0.7));
}

.cha_card:hover {
	filter: brightness(1) drop-shadow(1px 3px 3px rgba(0, 0, 0, 0.5));
}
	
/* 편집 모드일 때 카드에 점선 테두리와 배경색 변경 */
.cha_list.editing li.cha_card {
    border: 2px dotted #ff6600;
    filter: contrast(0.7) drop-shadow(1px 3px 0px rgba(0, 0, 0, 0.7));
    transition: background-color 0.3s, border 0.3s;
}

.cha_list_controls {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

#edit-order-btn {
    border-radius: 5px;
    background: rgb(57 0 0);
    color: var(--color-text);
    font-size: 12px;
    font-family: 'NanumSquare';
    border: 2px groove rgb(57 0 0);
    width: 40px;
    padding: 0px 5px;
    height: 28px;
}

/* 편집 모드일 때 편집 버튼 강조 */
#edit-order-btn.editing {
    background-color: #ff6600;
    color: #fff;
}

a.card_link {
    position: fixed;
    left: 0;
    bottom: 0;
    cursor: pointer;
}

/* .list_chk input[type="checkbox"] {
    margin-left: 10px;
    margin-top: 10px;
} */

.ov-one-liner {
    position: absolute;
    white-space: nowrap;
    text-overflow: ellipsis;
    top: 15%;
    left: 90%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 70px;
    font-weight: bold;
    color: rgb(40 40 40);
    z-index: -10;
    pointer-events: none;
    font-family: 'HakgyoansimByeolbichhaneulTTF-B';
}

.info_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: linear-gradient(0deg, rgb(0 0 0) 25%, rgba(255, 255, 255, 0) 100%);
    color: #fff;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.ov-cname {
    font-family: "Playfair Display", serif;
    font-size: 25px;
    text-align: center;
    line-height: 80%;
	text-shadow: 0 0 5px #000000, 0 0 15px #333, 0 0 35px #555, 0 0 40px #777;
}

.ov-kname {
    margin: 5px 0px;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    font-size: 11px;
    font-family: 'NanumSquare';
}