/* friendly_space_content 시작 */

/* 기본 스타일 및 CSS 변수 */
:root {
    --main-blue: #005bac; /* 파란색 */
    --sky-blue: #00A9E3; /* 하늘색 */
    --text-gray: #707070; /* 텍스트 회색 */
    --light-gray: #f4f4f4;
    --border-gray: #ddd;
    --text-color: #333;
    --text-light: #555;
    --text-black: #333333;
    --bg-gray: #f9f9f9; /* 아코디언 답변 배경 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: var(--text-color);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
}

section {
    margin-bottom: 60px;
}

/* 섹션 제목 스타일 */
.section-pre-title {
	color: var(--text-gray);
}
.section-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 30px;
    border-left: 5px solid var(--main-blue);
    padding-left: 10px;
    color: #333;
}


/* 1. 상단 소개 및 배너 */
.header {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-gray);
    line-height: 1.6;
    border-radius: 8px;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 30px;
}
.header strong {
	color: var(--text-black);
	font-size: 1.5rem;
}
/* 배너 콜라주 */
.header .banner-collage {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0;
}
.header .banner-collage img {
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}
.intro-text1, .intro-text2 {
	margin-top: 20px;
	margin-bottom: 30px;
}

/* 2. 신청 혜택 */
.benefits {
	color: var(--text-gray);
}
.benefits strong {
	color: var(--text-black);
	font-weight: bold;
}
.benefits-content { /* 섹션 설명 텍스트 */
    margin-bottom: 30px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left; /* 이미지 기준 좌측 정렬 */
}
.benefit-item {
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden; /* 이미지 모서리 둥글게 */
    text-align: center;
}
.benefit-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}
.benefit-item h3,
.benefit-item p {
    padding-left: 10px;
    padding-right: 10px;
}
.benefit-content {
    margin-top: -20px;
    position: relative; /* img 태그 위로 겹칠 수 있도록 */
    padding: 0 15px 15px; 
}
.step-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--main-blue);
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
}
.step-circle::before {
    content: ""; /* 가상 요소 필수 속성 */
    position: absolute; /* 부모인 .step-circle을 기준으로 위치 지정 */

    /* (Gap 만들기)
      부모 기준, 위/왼쪽에서 2px 씩 틈을 줍니다.
    */
    top: 2px;
    left: 2px;

    /*
      (크기 계산)
      너비/높이 = 부모(40px) - 왼쪽 틈(2px) - 오른쪽 틈(2px) = 36px
    */
    width: 36px;
    height: 36px;

    /* (흰색 테두리)
      36px 크기 내부에 2px 두께의 흰색 테두리를 그립니다.
    */
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50%; /* 원 모양 */

    /* 테두리(border)를 너비/높이 안에 포함시킵니다.
      이것이 없으면 실제 크기는 36px + 2px + 2px = 40px 이 됩니다.
    */
    box-sizing: border-box; 
}
.benefit-item h3 {
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 0 10px 0;
    border-bottom: 1px solid var(--text-black);
}
.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    padding-bottom: 10px;
    word-break: normal;
}

/* 3. 신청 절차 */
.process-flow {
    display: flex;
    justify-content: space-around;
    align-items: center; 
    background-color: var(--light-gray);
    padding: 30px 20px;
    border-radius: 8px;
}
.process-step {
    text-align: center;
    flex-basis: 30%;
}
/* 이미지 아이콘 모양/색상 */

.icon-box-wrapper img {
	width: 120px;
	object-fit: cover;
}
.process-step {
    font-weight: bold;
    font-size: 1.2rem;
}
.process-step h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  
  font-size: 1.2rem;
  margin: 0 0 10px;
  font-weight: bold;
  color: var(--main-blue);
  line-height: 1.4;
  min-height: 2.8em;
}
.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    text-align: center;
}
.arrow::after {
    flex: 1; /* 단계 사이의 공간을 채움 */
    position: relative; 
    text-align: center;
}
.arrow {
    content: "";
    display: inline-block; 
    width: 0;
    height: 0;
    border-top: 12px solid transparent; 
    border-bottom: 12px solid transparent;
    border-left: 15px solid var(--border-gray); /* 회색 화살촉 */
}

/* 4. FAQ */

.tab-container {
    display: flex;
    border: none;
    margin-bottom: 0;
}
/* 탭 버튼 스타일 */
.tab-link {
    background-color: var(--light-gray); /* 비활성 탭 색상 */
    color: var(--text-light);
    border: 1px solid var(--border-gray);
    border-bottom: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    margin-right: 5px;
    border-radius: 8px 8px 0 0; /* 둥근 상단 모서리 */
    flex: 1 1 0; /* 같은 비율로 가로폭을 나눠갖기 */
}
.tab-link:hover {
    background-color: #e9e9e9;
}
.tab-link.active {
    background-color: var(--main-blue); /* 활성 탭 색상 */
    color: #fff;
    border-color: var(--main-blue);
    font-weight: bold;
}
.tab-content {
    display: none;
    border: 1px solid var(--border-gray);
    border-top: 1px solid var(--main-blue); /* 활성 탭과 연결되는 선 */
    padding: 20px;
    border-radius: 0 8px 8px 8px; /* 탭의 좌상단을 제외하고 둥글게 */
}
.tab-content.active {
    display: block;
}

/* 아코디언 스타일 */
.accordion-item {
    border-bottom: 1px solid var(--border-gray);
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
	user-select: auto;
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 10px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-color);
}
.accordion-header:hover {
    background-color: #f9f9f9;
}
.accordion-header .question-text {
    flex-grow: 1;
}

/* 아코디언 화살표 */
.icon-arrow {
    width: 10px;
    height: 10px;
    border-left: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(-45deg); /* 아래쪽 화살표 (v) */
    transition: transform 0.3s ease;
    margin-right: 10px;
}
.accordion-header[aria-expanded="true"] .icon-arrow {
    transform: rotate(135deg); /* 위쪽 화살표 (^) */
}

.accordion-body {
	display: none;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}
.accordion-header[aria-expanded="true"] .icon-arrow {
    transform: rotate(180°);
}
/* 답변 박스 */
.answer-box {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: var(--bg-gray); /* 답변 영역 배경색 */
    border-radius: 5px;
}
.icon-a {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--main-blue);
    margin-right: 10px;
}
.answer-box p {
    margin: 0;
    color: var(--text-light);
    flex: 1;
}

/* 5. 하단 신청 버튼 */
.cta-footer {
    background-color: var(--sky-blue);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center; /* 가운데 정렬 */
}
.cta-footer p {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}
.cta-button {
    color: white;
    border: 2px solid white;
    background-color: var(--sky-blue);
    padding: 12px 45px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
}
.cta-button:hover {
    background-color: #007CA6;
}


/* 6. 신청하기 모달 스타일 */

.apply-modal-overlay {
    display: none; /* 평소에는 숨겨둠 */
    position: fixed; /* 화면 전체를 덮음 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 반투명 검은색 배경 */
    
    /* 모달창을 화면 중앙에 정렬 */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 다른 요소들보다 위에 표시 */
}

.apply-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    
    /* 스크롤이 생길 경우 대비 */
    max-height: 95vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover {
    color: #333;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    border-left: none; /* 제목 스타일 초기화 */
    padding-left: 0;
}

.modal-content p {
    margin-bottom: 25px;
    color: var(--text-light);
}

/* 7. 모달창 내부 폼 스타일 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

#modalMemo {
	min-height: 120px;
}

.modal-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--main-blue);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.modal-submit-btn:hover {
    background-color: #0056b3;
}


/* 8. 관리자 전용 버튼 스타일 */
/* 관리자 바로가기 버튼 스타일 */
.section-title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-admin-shortcut {
    font-size: 0.85rem;
    font-weight: normal;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: all 0.2s;
    user-select: none;
}

.btn-admin-shortcut:hover {
    background-color: #eee;
    color: #333;
    border-color: #bbb;
}

.btn-admin-shortcut .icon-settings {
    margin-right: 4px;
}



/* 반응형 (모바일) */
@media (max-width: 641px) {
    .header .banner-collage {
        flex-direction: column;
        align-items: center;
    }
    .header .banner-collage img {
        margin-bottom: 10px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-flow {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 641px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .tab-container {
        flex-direction: column;
    }
    .tab-link {
        width: 100%;
        margin-right: 0;
        margin-bottom: -1px;
        border-radius: 8px 8px 0 0;
    }
    .tab-link.active {
        border-bottom: none;
    }
    .tab-content {
        border-radius: 0 0 8px 8px;
    }
}

/* friendly_space_content 끝 */


/* open_store_content 시작 */

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}


/* 가게 목록 그리드 스타일 */
.store-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px; /* 아이템들 사이의 간격 */
}

@media (min-width: 641px) {
    .store-list {
        /* 한 줄에 2개의 아이템을 동일한 비율로 표시 */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 각 가게 아이템(카드) 스타일 */
.store-item {
    background-color: white;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.store-item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* 로고 이미지 스타일 */
.store-item .logo {
    width: 120px;
    height: 120px;
    margin-right: 20px;
    flex-shrink: 0; /* 카드가 줄어들어도 로고 크기 유지 */
}

/* 가게 정보 텍스트 영역 스타일 */
.store-item .info {
    min-width: 0;
}

.store-item .info dt,
.store-item .info dd {
    white-space: nowrap;      /* 1. 줄바꿈 방지 */
    overflow: hidden;         /* 2. 영역을 넘어가는 내용 숨기기 */
    text-overflow: ellipsis;  /* 3. 숨겨진 텍스트를 말줄임표(...)로 표시 */
}

.store-item .info dt {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.store-item .info dd {
    font-size: 0.9em;
    color: #555;
    margin: 0 0 5px 0;
}

/* 로딩 메시지 스타일 */
#loading-message {
    text-align: center;
    padding: 40px;
    color: #777;
}


/* --- 지역 필터 버튼 그룹 --- */
.region-filter {
  	display: flex;
  	border: 1px solid #ddd;
  	border-radius: 5px;
  	overflow: hidden;
  	margin-bottom: 40px;
  	user-select: none;
}

.region-filter a {
  	flex: 1 1 0;
  	padding: 12px 0;
  	text-align: center;
  	text-decoration: none;
  	color: #555;
  	border-right: 1px solid #ddd;
  	font-size: 1em;
}

/* 마지막 링크의 오른쪽 테두리 제거 */
.region-filter a:last-child {
  	border-right: none;
}

.region-filter a:not(.active):hover {
  	background-color: #f5f5f5;
}

.region-filter a.active {
  	color: #2c7fdf;
  	box-shadow: 0 0 0 1.5px #2c7fdf inset;
  	border-radius: 5px;
}


/* --- 검색창 스타일 --- */
.search-container {
    max-width: 500px;
    margin: 0 auto 50px auto;
    display: flex;
    gap: 10px;
}
.search-container input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: auto;
}
.search-container button {
    background-color: #333;
}
input[type="text"]::placeholder {
	text-align: justify;
	color: #ccc;
	font-weight: normal;
}


/* --- 모달 스타일 --- */
/* 2. 모달이 열렸을 때 body의 스크롤 기능만 비활성화 */
body.modal-open {
	position: fixed;   /* 뷰포트에 고정 → 더 이상 스크롤 안 됨 */
	width: 100%;       /* 고정 시 가로 흔들림 방지 */
	overflow-y: scroll;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* 평소엔 숨김 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal_title {
	font-size: 1.5em;
}
.required_text {
	color: orangered;
}
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.modal-content .close-btn {
	padding: 0;
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    border: none; background: none;
}
.modal-content .close-btn:hover {
    color: #000;
}


.modal-content .map-icon {
	margin-top: -8px;
	margin-left: 5px;
	padding: 0;
    width: 20px; 
    height: 20px;
    background: red;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
}

.modal-content .map-icon::after {
    content: '';
    position: absolute;
    width: 10px; 
    height: 10px;
    top: 5px; 
    left: 5px;
    background: white;
    border-radius: 50%;
}

.modal-content .map-icon:hover {
    box-shadow: 0 0 8px rgba(255,0,0,0.7);
}

.modal-content .map-icon:hover::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 30px; height: 30px;
    background: rgba(255,0,0,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}


.modal-header { 
	display: flex;
	align-items: center;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
	margin-bottom: 15px;
}

.modal-header .logo {
    /* 넓이를 부모 넓이의 35%를 차지하도록 설정 */
    width: 35%; 
    max-width: 140px; 
    max-height: 140px;
    object-fit: cover;
	margin-right: 20px;
	flex-shrink: 0;
}

.modal-header .info dt {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 8px;
}

.modal-header .info dd {
	color: #555555;
	margin: 0 0 4px;
}

.modal-body h3 {
	font-size: 1.1em;
}

.modal-body p {
	color: #333333;
}

/* --- 모달 하단 버튼 영역 --- */
.modal-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 수정 및 삭제 버튼 공통 스타일 */
.modal-actions .btn_modify,
.modal-actions .btn_delete {
    font-size: 1em;
}


/* 지도 컨테이너 스타일 */
#map-container {
	display: none;
	margin-top: 15px;
	border-radius: 6px;
	overflow: hidden;
}

#map {
  width: 100%;
  height: 300px;
  transform: translateZ(0);
  will-change: transform;
  contain: strict;
}

.btn_container {
    text-align: right;
    margin-top: 25px;
}
.btn_submit {
	user-select: none;
	display: inline-block;
    padding: 8px 20px;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* open_store_content 끝 */



/* 따뜻한 나눔 - 공통 탭 스타일 시작 */

.warm-tabs {
    display: flex;
    margin-top: 50px;
    padding-bottom: 50px;
    user-select: none;
    gap: 10px;
}

.warm-tabs a {
	flex: 1;
    padding: 15px 25px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    color: var(--main-blue);
    border: 1px solid var(--main-blue);
    border-radius: 25px;
}

.warm-tabs a:hover {
    background-color: #f5f5f5;
}

/* 현재 활성화된 탭 스타일 */
.warm-tabs a.active {
	color: white;
    background-color: var(--main-blue);
    border-color: var(--main-blue);
    border-bottom-color: transparent; /* 아래쪽 테두리는 보이지 않게 */
}

/* 따뜻한 나눔 - 공통 탭 스타일 끝 */



/* open_store_edit_content 등록/수정 폼 스타일 시작 */

/* 폼 전체를 감싸는 컨테이너 */
.form-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

/* 라벨과 인풋을 묶는 그룹 */
.form-group {
    margin-bottom: 20px;
}

/* 라벨 스타일 */
.form-group label {
    display: inline-block;
    font-weight: bold;
    font-size: 1em;
}

.form-group label, #btn_search_address {
	margin-bottom: 8px;
}

#btn_search_address {
	background-color: #333333;
	padding: 5px 10px;
	margin-left: 5px;
}

#btn_search_address:hover, #search-btn:hover {
	background-color: #474747;
}

#address_detail {
	margin-top: 5px;
}

/* 텍스트 입력창 및 텍스트 영역 공통 스타일 */
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* padding이 너비에 영향을 주지 않도록 설정 */
    font-size: 1em;
}

/* 텍스트 영역(소개) 스타일 */
.form-group textarea {
    resize: vertical; /* 세로 크기만 조절 가능하도록 설정 */
}

/* 수정 모드에서 현재 이미지를 보여주는 스타일 */
.form-group .current-image {
    max-width: 200px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #eee;
    display: block;
}

.original_img_name_text {
	color: #565656;
}

/* open_store_edit_content 등록/수정 폼 스타일 끝 */


/* Q&A 관리자 페이지 시작 */

/* 컨테이너 기본 스타일 */
.friendly-space-admin .container {
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
    max-width: 1200px;
}

/* [중요] 페이지별 너비 최적화 */
.friendly-space-admin .container.list-wide { max-width: 1500px; } /* 리스트: 넓게 */
.friendly-space-admin .container.edit-narrow { max-width: 1000px; }  /* 수정폼: 보기 좋게 좁게 */

.friendly-space-admin h1 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

/* 버튼 공통 */
.friendly-space-admin .btn {
    user-select: none;
    border: none;
    padding: 7px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.4;
}

.friendly-space-admin .btn-lg {
    padding: 8px 16px;
    font-size: 1rem;
}

.friendly-space-admin .btn-confirm { background-color: #6c757d; color: white; }
.friendly-space-admin .btn-confirm:hover { background-color: #5a6268; }
.friendly-space-admin .btn-pending { background-color: #6c757d; color: white; }
.friendly-space-admin .btn-pending:hover { background-color: #5a6268; }
.friendly-space-admin .btn-edit { background-color: #28a745; color: white; }
.friendly-space-admin .btn-edit:hover { background-color: #218838; }
.friendly-space-admin .btn-delete { background-color: #dc3545; color: white; }
.friendly-space-admin .btn-delete:hover { background-color: #c82333; }
.friendly-space-admin .btn:disabled { background-color: #ccc; cursor: not-allowed; }

.friendly-space-admin .form-actions {
    display: flex;
    justify-content: space-between; /* 요소들을 양 끝으로 배치 */
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee; /* 구분선 추가로 안정감 부여 */
}

/* 테이블 내부 버튼 여백 (리스트 전용) */
.friendly-space-admin #application-list-body .btn {
    margin-top: 8px;
}

/* 필터 및 검색 레이아웃 */
.friendly-space-admin .filter-container {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.friendly_space_search_container {
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.friendly-space-admin .search-container #searchInput {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.friendly-space-admin .search-container .btn-confirm {
    margin-left: 10px;
}

/* 테이블 스타일 */
.friendly-space-admin table { width: 100%; border-collapse: collapse; }
.friendly-space-admin th, .friendly-space-admin td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
    vertical-align: middle;
}
.friendly-space-admin th { background-color: #f1f3f5; }

/* 상태 텍스트 */
.friendly-space-admin .status-confirmed { color: #007bff; font-weight: bold; }
.friendly-space-admin .status-pending { color: #dc3545; font-weight: bold; }

/* 폼 스타일 (수정 페이지) */
.friendly-space-admin .form-group { margin-bottom: 20px; }
.friendly-space-admin .form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.friendly-space-admin .form-group input, 
.friendly-space-admin .form-group select, 
.friendly-space-admin .form-group textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    resize: vertical;
    min-height: 44px;
}

/* 메시지 알림 */
.friendly-space-admin .message { padding: 15px; border-radius: 4px; margin-bottom: 20px; font-weight: 500; }
.friendly-space-admin .message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.friendly-space-admin .message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* 페이지네이션 */
.friendly-space-admin .pagination-container { text-align: center; margin-top: 30px; }

.notice {
	font-size: 0.85rem;
	color: #888;
	margin-top: 5px;
}

/* Q&A 관리자 페이지 끝 */