/********** 장비소개 리스트 **********/
.equipment-cardWrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.equipment-cardWrap .equipment-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--line-color);
  position: relative;
  overflow: hidden;
}

.equipment-cardWrap .equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.equipment-cardWrap .image-section {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 1rem;
  height: 290px;
  overflow: hidden;
}

.equipment-cardWrap .image-section img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.equipment-cardWrap .content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(100% - 280px);
  padding-left: 2rem;
}

.equipment-cardWrap .title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  width: 100%;
}

.equipment-cardWrap .specs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.equipment-cardWrap .spec-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.equipment-cardWrap .spec-label {
  font-size: 0.95rem;
  color: #666;
  min-width: 80px;
  font-weight: 500;
}

.equipment-cardWrap .spec-value {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 400;
}

.equipment-cardWrap .btn {
  align-self: flex-end;
  background: #6b7a99;
  color: white;
  padding: 1.4rem 3.2rem;
  border-radius: 1rem 0 1rem 0 !important;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0 !important;
}

.equipment-cardWrap .btn:hover {
  background: #5a6782 !important;
}
/* 반응형 - 1600px */
@media screen and (max-width: 1600px) {
  .equipment-cardWrap .image-section {
    flex: 0 0 240px;
  }

  .equipment-cardWrap .content-section {
    width: calc(100% - 240px);
  }

  .equipment-cardWrap .title {
    font-size: 1.4rem;
  }
}

/* 반응형 - 태블릿 */
@media screen and (max-width: 1200px) {
  .equipment-cardWrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .equipment-cardWrap .equipment-card {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .equipment-cardWrap .image-section {
    flex: 0 0 200px;
  }
  .equipment-cardWrap .content-section {
    width: calc(100% - 200px);
  }

  .equipment-cardWrap .title {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }

  .equipment-cardWrap .spec-label {
    font-size: 0.9rem;
    min-width: 70px;
  }

  .equipment-cardWrap .spec-value {
    font-size: 0.9rem;
  }

  .equipment-cardWrap .button {
    padding: 0.7rem 1.75rem;
    font-size: 0.9rem;
  }
}

/* 반응형 - 모바일 */
@media screen and (max-width: 900px) {
  .equipment-cardWrap {
    gap: 1.25rem;
  }

  .equipment-cardWrap .equipment-card {
    flex-direction: column;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .equipment-cardWrap .image-section {
    flex: 0 0 auto;
    width: 100%;
    height: 220px;
  }
  .equipment-cardWrap .content-section {
    width: 100%;
    padding-left: 0;
  }

  .equipment-cardWrap .title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .equipment-cardWrap .specs {
    gap: 0.875rem;
    margin-bottom: 1.25rem;
  }

  .equipment-cardWrap .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .equipment-cardWrap .spec-label {
    font-size: 0.85rem;
    min-width: auto;
    color: #999;
  }

  .equipment-cardWrap .spec-value {
    font-size: 0.9rem;
  }

  .equipment-cardWrap .button {
    align-self: stretch;
    justify-content: center;
    padding: 0.875rem;
    font-size: 0.95rem;
  }
}

/********** 장비예약 뷰페이지 **********/
.equipment-view .top-section {
  display: flex;
  gap: 2rem;
}
.equipment-view .top-section .img-box {
  flex: 0 0 600px;
  background-color: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--line-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.equipment-view .top-section .table-box {
  width: calc(100% - 600px);
}
.equipment-view .top-section .img-box > img {
  max-width: 100%;
  width: auto;
  height: 100%;
  object-fit: cover;
}

.equipment-view .top-section .title {
  font-weight: 600;
  color: var(--black);
  font-size: 1.6rem;
  width: 100%;
}

/* 반응형 - 1600px */
@media screen and (max-width: 1600px) {
}

/* 반응형 - 태블릿 */
@media screen and (max-width: 1200px) {
  .equipment-view .top-section {
    flex-direction: column;
  }
  .equipment-view .top-section > div {
    width: 100% !important;
  }
  .equipment-view .top-section .img-box {
    height: 400px;
    flex: auto;
  }
}

/* 반응형 - 모바일 */
@media screen and (max-width: 900px) {
}

/********** 장비예약 폼페이지 **********/
.equipment-form input[type="text"],
.equipment-form input[type="date"],
.equipment-form input[type="password"],
.equipment-form input[type="number"],
.equipment-form input[type="tel"],
.equipment-form input[type="data"],
.equipment-form input[type="time"],
.equipment-form input[type="datetime-local"],
.equipment-form input[type="file"],
.equipment-form input[type="email"],
.equipment-form select {
  min-width: 300px;
}

/********** 시설예약 리스트페이지 **********/
.facility-cardWrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.facility-cardWrap .facility-card {
  background: white;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--line-color);
  position: relative;
  overflow: hidden;
}
.facility-cardWrap .facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.facility-cardWrap .image-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-radius: 1rem 1rem 0 0;
  height: 300px;
  overflow: hidden;
}
.facility-cardWrap .image-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.facility-cardWrap .content-section {
  padding: 1.5rem 1.5rem calc(1.5rem + 65px) 1.5rem;
}

.facility-cardWrap .title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
  width: 100%;
}

.facility-cardWrap .specs {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.facility-cardWrap .spec-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.facility-cardWrap .spec-label {
  font-size: 0.95rem;
  color: #666;
  min-width: 80px;
  font-weight: 500;
}

.facility-cardWrap .spec-value {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 400;
}

.facility-cardWrap .btn {
  align-self: flex-end;
  background: #6b7a99;
  color: white;
  padding: 1.4rem 3.2rem;
  border-radius: 1rem 0 1rem 0 !important;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0 !important;
}

.facility-cardWrap .btn:hover {
  background: #5a6782 !important;
}
/* 반응형 - 1600px */
@media screen and (max-width: 1600px) {
  .facility-cardWrap .image-section {
    height: 260px;
  }
}

/* 반응형 - 태블릿 */
@media screen and (max-width: 1200px) {
  .facility-cardWrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 반응형 - 모바일 */
@media screen and (max-width: 900px) {
  .facility-cardWrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

/********** 시설예약 뷰페이지 **********/
.facility-view .top-section {
  display: flex;
  gap: 2rem;
}
.facility-view .top-section .img-box {
  flex: 0 0 600px;
  background-color: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--line-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.facility-view .top-section .table-box {
  width: calc(100% - 600px);
}
.facility-view .top-section .img-box > img {
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.facility-view .top-section .title {
  font-weight: 600;
  color: var(--black);
  font-size: 1.6rem;
  width: 100%;
}

.facility-view .bottom-section .box_st1 {
  padding: 1.5rem;
}

/* 반응형 - 1600px */
@media screen and (max-width: 1600px) {
}

/* 반응형 - 태블릿 */
@media screen and (max-width: 1200px) {
  .facility-view .top-section {
    flex-direction: column;
  }
  .facility-view .top-section > div {
    width: 100% !important;
  }
  .facility-view .top-section .img-box {
    height: auto;
    flex: auto;
  }
}

/* 반응형 - 모바일 */
@media screen and (max-width: 900px) {
}

/********** 시설예약 폼페이지 **********/
.facility-form input[type="text"],
.facility-form input[type="date"],
.facility-form input[type="password"],
.facility-form input[type="number"],
.facility-form input[type="tel"],
.facility-form input[type="data"],
.facility-form input[type="time"],
.facility-form input[type="datetime-local"],
.facility-form input[type="file"],
.facility-form input[type="email"],
.facility-form select {
  min-width: 300px;
}

/********** 시설 예약현황 **********/
#calendar-container {
  max-width: 100%;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* FullCalendar 커스터마이징 */
#calendar-container .fc {
  font-size: 0.9rem;
}

#calendar-container .fc .fc-toolbar-title {
  font-size: 1.6rem;
  color: var(--black);
  font-weight: bold;
}

#calendar-container #calendar-container .fc .fc-button {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  padding: 8px 16px;
  font-size: 14px;
}
.fc .fc-button-active {
  background-color: #333 !important;
  color: white !important;
}

/* 헤더 스타일 */
#calendar-container .fc .fc-col-header-cell {
  background-color: #333;
  color: white;
  padding: 15px 5px;
  font-weight: normal;
  border: 1px solid #555;
}
#calendar-container .fc .fc-col-header-cell a {
  color: var(--white);
}

/* 날짜 셀 스타일 */
#calendar-container .fc .fc-daygrid-day {
  border: 1px solid #ddd;
}

#calendar-container .fc .fc-daygrid-day-number {
  padding: 8px;
  font-size: 16px;
  color: #333;
}

/* 오늘 날짜 강조 */
#calendar-container .fc .fc-day-today {
  background-color: rgba(255, 0, 0, 0.05) !important;
}

#calendar-container .fc .fc-day-today .fc-daygrid-day-number {
  background-color: #ff0000;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px;
}

/* 다른 달의 날짜 */
#calendar-container .fc .fc-day-other .fc-daygrid-day-number {
  color: #ccc;
}

/* 이벤트 스타일 */
#calendar-container .fc-event {
  border: none !important;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  margin: 2px 4px;
  cursor: pointer;
}

#calendar-container .fc-event-title {
  font-weight: normal;
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 400;
}

/* 완료 이벤트 (노란색) */
#calendar-container .event-completed {
  background-color: #ffeaa7 !important;
  color: #2d3436 !important;
  border: 1px solid #fdcb6e !important;
}

/* 예정 이벤트 (파란색) */
#calendar-container .event-scheduled {
  background-color: #dfe6e9 !important;
  color: #2d3436 !important;
  border: 1px solid #b2bec3 !important;
}

/* 커스텀 툴바 버튼 그룹 */
#calendar-container .fc .fc-toolbar {
  gap: 10px;
}

#calendar-container .fc .fc-toolbar-chunk {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 월/주/일 버튼 스타일 */
#calendar-container .view-buttons {
  display: flex;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

#calendar-container .view-buttons .fc-button {
  border: none;
  border-radius: 0;
  border-right: 1px solid #ddd;
}

#calendar-container .view-buttons .fc-button:last-child {
  border-right: none;
}

/* 셀 높이 조정 */
#calendar-container .fc .fc-daygrid-day-frame {
  min-height: 120px;
}

#calendar-container .fc-license-message {
  display: none;
}

/* 반응형 - 1600px */
@media screen and (max-width: 1600px) {
}

/* 반응형 - 태블릿 */
@media screen and (max-width: 1200px) {
  #calendar-container .fc .fc-daygrid-day-number {
    font-size: 0.8rem;
  }
}

/* 반응형 - 모바일 */
@media screen and (max-width: 900px) {
}

/********** 입주기업 리스트페이지 **********/
.tenant-cardWrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.tenant-cardWrap .tenant-card {
  background: white;
  border-radius: 1rem;
  display: flex;
  flex-direction: row;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--line-color);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 240px;
}
.tenant-cardWrap .tenant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.tenant-cardWrap .image-section {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem 1rem 0 0;
  width: 350px;
  height: 100%;
  overflow: hidden;
  background: #f8f9fa;
}
.tenant-cardWrap .image-section img {
  max-width: 80%;
  max-height: 140px;
  object-fit: contain;
}
.tenant-cardWrap .image-section.none_image {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}
.tenant-cardWrap .image-section.none_image .icon {
  font-size: 60px;
  color: #bdc3c7;
}
.tenant-cardWrap .content-section {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}
.tenant-cardWrap .content-section .icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: #c6c7cf;
  font-size: 1.7rem;
  transition: all 0.3s ease;
}

.tenant-card:hover .content-section .icon {
  color: #0077be;
  transform: translateX(5px);
}

/* 추가 효과 옵션 */
.tenant-card:hover .content-section .icon {
  color: var(--black);
  transform: translateX(5px) scale(1.1);
  animation: arrowBounce 0.6s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateX(5px) scale(1.1);
  }
  50% {
    transform: translateX(10px) scale(1.1);
  }
}
.tenant-cardWrap .title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.3rem;
  width: 100%;
}
.tenant-cardWrap .specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tenant-cardWrap .spec-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.tenant-cardWrap .spec-label {
  font-size: 0.9rem;
  color: #888;
  min-width: 70px;
  font-weight: 500;
}
.tenant-cardWrap .spec-value {
  font-size: 0.95rem;
  color: #333;
  font-weight: 400;
  flex: 1;
}
.tenant-cardWrap .btn-wrap {
  margin-top: auto;
  padding-top: 1rem;
}
.tenant-cardWrap .btn {
  width: 100%;
  background: var(--mainColor);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}
.tenant-cardWrap .btn:hover {
  background: var(--mainColorDark, #1565c0);
}

/* 반응형 - 1600px */
@media screen and (max-width: 1600px) {
}

/* 반응형 - 태블릿 */
@media screen and (max-width: 1200px) {
  .tenant-cardWrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 반응형 - 모바일 */
@media screen and (max-width: 900px) {
  .tenant-cardWrap {
    grid-template-columns: repeat(1, 1fr);
  }
  .tenant-cardWrap .tenant-card {
    height: 200px;
  }
}

/********** 입주현황 페이지 **********/
.sub-contents.occupancy-status {
  padding: 4rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* 현황 요약 카드 */
.occupancy-summary {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.occupancy-summary .summary-card {
  flex: 1;
  background: var(--white);
  border-radius: 1.2rem;
  padding: 2rem 2rem;
  border: 2px solid #e0e0e0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.occupancy-summary .summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0077be 0%, #005a91 100%);
}

.occupancy-summary .summary-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.03;
  z-index: 0;
}

.occupancy-summary .summary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 119, 190, 0.2);
  border-color: #34495e;
}

.occupancy-summary .summary-card .count {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #0077be 0%, #005a91 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.occupancy-summary .summary-card .label {
  font-size: 1.15rem;
  font-weight: 600;
  color: #666;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

/* 각 카드별 색상 및 아이콘 */
.occupancy-summary .summary-card.total::before {
  background: linear-gradient(90deg, #5d6d7e 0%, #34495e 100%);
}
.occupancy-summary .summary-card.total::after {
  background: #5d6d7e;
}
.occupancy-summary .summary-card.total .count {
  background: linear-gradient(135deg, #5d6d7e 0%, #34495e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.occupancy-summary .summary-card.occupied::before {
  background: linear-gradient(90deg, #2e7d32 0%, #1b5e20 100%);
}
.occupancy-summary .summary-card.occupied::after {
  background: #2e7d32;
}
.occupancy-summary .summary-card.occupied .count {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.occupancy-summary .summary-card.occupied:hover {
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.2);
  border-color: #2e7d32;
}

.occupancy-summary .summary-card.available::before {
  background: linear-gradient(90deg, #757575 0%, #616161 100%);
}
.occupancy-summary .summary-card.available::after {
  background: #757575;
}
.occupancy-summary .summary-card.available .count {
  background: linear-gradient(135deg, #757575 0%, #616161 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.occupancy-summary .summary-card.available:hover {
  box-shadow: 0 15px 40px rgba(117, 117, 117, 0.2);
  border-color: #757575;
}

.occupancy-summary .summary-card.maintenance::before {
  background: linear-gradient(90deg, #f57c00 0%, #e65100 100%);
}
.occupancy-summary .summary-card.maintenance::after {
  background: #f57c00;
}
.occupancy-summary .summary-card.maintenance .count {
  background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.occupancy-summary .summary-card.maintenance:hover {
  box-shadow: 0 15px 40px rgba(245, 124, 0, 0.2);
  border-color: #f57c00;
}

/* 층별 섹션 */
.floor-section {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 1.5rem;
  border: 1px solid var(--line-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.floor-section .floor-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 0.8rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.floor-section .floor-title::before {
  content: "📍";
  font-size: 1.5rem;
}

/* 호실 그리드 */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.room-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 0.5rem;
  padding: 2rem 1.8rem;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.room-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 1.2rem 1.2rem 0 0;
  background: linear-gradient(90deg, #e0e0e0 0%, #bdbdbd 100%);
  transition: all 0.3s ease;
}

.room-card::after {
  content: "🏢";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  opacity: 0.1;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #0077be;
}

.room-card:hover::before {
  background: linear-gradient(90deg, #0077be 0%, #005a91 100%);
}

.room-card .room-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-card .room-name {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 1rem;
}

.room-card .room-info {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.room-card .room-info::before {
  content: "📐 ";
}

.room-card .status-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.5rem;
  letter-spacing: -0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.room-card .status-badge.occupied {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  border: 2px solid #a5d6a7;
}

.room-card .status-badge.occupied::before {
  content: "\e853";
  font-family: "Material Symbols Outlined";
  vertical-align: sub;
  font-size: 1.2rem;
}

.room-card .status-badge.available {
  background: #f5f5f5;
  color: #757575;
  border: 2px solid #e0e0e0;
  box-shadow: none;
}

.room-card .status-badge.available::before {
  content: "\f7b3";
  font-family: "Material Symbols Outlined";
  vertical-align: sub;
  font-size: 1.2rem;
}

.room-card .status-badge.maintenance {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #f57c00;
  border: 2px solid #ffcc80;
}

.room-card .status-badge.maintenance::before {
  content: "\ef48";
  font-family: "Material Symbols Outlined";
  vertical-align: sub;
  font-size: 1.2rem;
}

.room-card .tenant-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-card .contract-period {
  font-size: 0.9rem;
  color: #999;
  margin-top: 0.6rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.room-card .contract-period::before {
  content: "📅";
  font-size: 0.9rem;
}

/* 이미지가 있는 카드 */
.room-card.has-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.room-card.has-image::after {
  display: none;
}

.room-card .room-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.room-card .room-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.room-card .room-image.no-image .material-symbols-outlined {
  font-size: 64px;
  color: #bbb;
}

.room-card .room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.room-card:hover .room-image img {
  transform: scale(1.05);
}

.room-card .room-info-wrap {
  padding: 1.5rem;
}

.room-card.has-image .room-info-wrap {
}

.room-card.has-image .status-badge {
  margin-top: auto;
}

/* 빈 데이터 */
.empty-data {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 1.5rem;
  border: 2px dashed #ccc;
}

.empty-data .material-symbols-outlined {
  font-size: 6rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.empty-data p {
  font-size: 1.3rem;
  color: #999;
  font-weight: 500;
}

/* 반응형 */
@media screen and (max-width: 1600px) {
  .occupancy-summary .summary-card .count {
    font-size: 3.2rem;
  }
  .room-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media screen and (max-width: 1200px) {
  .sub-contents.occupancy-status {
    padding: 3rem 1rem;
  }
  .occupancy-summary {
    gap: 1.2rem;
    margin-bottom: 3rem;
  }
  .occupancy-summary .summary-card {
    padding: 2rem 1.5rem;
  }
  .occupancy-summary .summary-card .count {
    font-size: 2.8rem;
  }
  .occupancy-summary .summary-card .label {
    font-size: 1.05rem;
  }
  .floor-section {
    margin-bottom: 3rem;
    padding: 2rem;
  }
  .floor-section .floor-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .room-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
  }
  .room-card {
    padding: 1.8rem 1.5rem;
  }
}

@media screen and (max-width: 900px) {
  .sub-contents.occupancy-status {
    padding: 2rem 1rem;
  }
  .occupancy-summary {
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .occupancy-summary .summary-card {
    flex: 0 0 calc(50% - 0.5rem);
    padding: 1.5rem 1rem;
  }
  .occupancy-summary .summary-card::after {
    width: 100px;
    height: 100px;
  }
  .occupancy-summary .summary-card .count {
    font-size: 2.5rem;
  }
  .occupancy-summary .summary-card .label {
    font-size: 1rem;
  }
  .floor-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
  }
  .floor-section .floor-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    padding: 0.8rem 1.2rem;
  }
  .floor-section .floor-title::before {
    font-size: 1.2rem;
  }
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .room-card {
    padding: 1.5rem 1.2rem;
  }
  .room-card::after {
    font-size: 1.5rem;
  }
  .room-card .room-number {
    font-size: 1.4rem;
  }
  .room-card .room-number::before {
    font-size: 1.1rem;
  }
  .room-card .room-name {
    font-size: 1rem;
    padding-left: 1.5rem;
  }
  .room-card .room-info {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  .room-card .status-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }
  .room-card .tenant-name {
    font-size: 1.05rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }
  .room-card .contract-period {
    font-size: 0.85rem;
  }
  .empty-data {
    padding: 4rem 1.5rem;
  }
  .empty-data .material-symbols-outlined {
    font-size: 5rem;
  }
  .empty-data p {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 600px) {
  .occupancy-summary .summary-card {
    flex: 0 0 100%;
  }
  .room-grid {
    grid-template-columns: 1fr;
  }
  .room-card .room-image {
    height: 200px;
  }
  .room-card .room-info-wrap {
    padding: 1.2rem;
  }
}
/********** 입주기업소개 뷰 **********/

/* 헤더 영역 */
.tenant-view-header {
  background: var(--white);
  border: 1px solid var(--line-color);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tenant-logo {
  width: 345px;
  height: 200px;
  min-width: 280px;
  border: 1px solid var(--line-color);
  border-radius: 0.8rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  flex-shrink: 0;
}

.tenant-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.tenant-logo.none_image {
  background: #f5f5f5;
}

.tenant-logo.none_image .icon {
  font-size: 5rem;
  color: #ccc;
}

.tenant-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.tenant-title h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
  line-height: 1.3;
}

.tenant-title .business-type {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: #0077be;
  color: var(--white);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  width: fit-content;
}

/* 테이블 영역 */
.tenant-view-body {
  background: var(--white);
  border: 1px solid var(--line-color);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.view-table {
  width: 100%;
  border-collapse: collapse;
}

.view-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.view-table tr:last-child {
  border-bottom: none;
}

.view-table th,
.view-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  vertical-align: top;
}

.view-table th {
  width: 160px;
  font-weight: 600;
  color: #555;
  background: #f8f9fa;
}

.view-table td {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.view-table td a {
  color: #0077be;
  text-decoration: none;
  font-weight: 500;
}

.view-table td a:hover {
  text-decoration: underline;
}

/* 버튼 영역 */
.btn_wrap.btn_center {
  display: flex;
  justify-content: center;
}

.btn_wrap .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn_wrap .btn.bg_bluegrayDark {
  background: #5d6d7e;
  color: var(--white);
}

.btn_wrap .btn.bg_bluegrayDark:hover {
  background: #4a5968;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn_wrap .btn .material-symbols-outlined {
  font-size: 1.2rem;
}

/* 반응형 */
@media screen and (max-width: 1600px) {
  .tenant-logo {
    width: 240px;
    height: 180px;
    min-width: 240px;
  }
  .tenant-title h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 1200px) {
  .tenant-view-header {
    padding: 2rem;
    gap: 2rem;
  }
  .tenant-logo {
    width: 200px;
    height: 150px;
    min-width: 200px;
  }
  .tenant-title h3 {
    font-size: 1.8rem;
  }
  .tenant-title .business-type {
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
  }
}

@media screen and (max-width: 900px) {
  .tenant-view-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .tenant-logo {
    width: 100%;
    max-width: 280px;
    height: 200px;
    min-width: auto;
  }
  .tenant-logo.none_image .icon {
    font-size: 4rem;
  }
  .tenant-title {
    align-items: center;
  }
  .tenant-title h3 {
    font-size: 1.6rem;
  }
  .tenant-title .business-type {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
  .tenant-view-body {
    border-radius: 0.8rem;
  }
  .view-table {
    display: block;
  }
  .view-table tbody,
  .view-table tr {
    display: block;
  }
  .view-table tr {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .view-table tr:last-child {
    border-bottom: none;
  }
  .view-table th,
  .view-table td {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
  }
  .view-table th {
    background: #f0f0f0;
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
  }
  .view-table td {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    font-size: 0.95rem;
  }
}

/********** 일반게시판 리스트 **********/

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #333;
}

.board-title {
  font-size: 24px;
  font-weight: 700;
}

.board-search {
  margin-bottom: 20px;
}

.search-form {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.board-table {
  width: 100%;
  border-top: 2px solid #333;
  border-collapse: collapse;
}

.board-table th {
  background: #f8f9fa;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
  text-align: center;
  color: var(--black);
}

.board-table td {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  text-align: center;
}

.board-table td.subject {
  text-align: left;
}

.board-table tr:hover {
  background: #f8f9fa;
}

.subject-link {
  color: #333;
  text-decoration: none;
}

.subject-link:hover {
  text-decoration: underline;
}

.notice-badge {
  display: inline-block;
  background: var(--main-color);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-right: 5px;
}

.secret-icon {
  color: #6c757d;
  margin-right: 5px;
}

.comment-count {
  color: #007bff;
  margin-left: 5px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: 30px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  text-decoration: none;
  color: #888;
  background-color: var(--white);
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-weight: 300;
}

.page-link:hover {
  background-color: #f8f8f8;
}

.page-link.active {
  color: #000;
  font-weight: 700;
}

/* 글쓰기 버튼 하단 여백 */
.board-container {
  margin-bottom: 50px;
}

.btn-write {
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-write:hover {
  background: #0056b3;
}

/* 검색 폼 스타일 */
.search-form .form-control {
  padding: 10px 15px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.search-form .form-control:focus {
  border-color: #007bff;
}

@media (max-width: 768px) {
  .board-table {
    font-size: 14px;
  }

  .board-table th,
  .board-table td {
    padding: 8px 5px;
  }

  .board-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .search-form {
    flex-direction: column;
    width: 100%;
  }

  .search-form select,
  .search-form input,
  .search-form button {
    width: 100%;
  }
}

/********** 게시판 뷰 **********/

.board-view-header {
  border-bottom: 2px solid #333;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.board-view-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--black);
}

.board-view-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #666;
}

.board-info-left {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: #f8f8f8;
}
.board-info-left > span {
  position: relative;
}
.board-info-left > span::after {
  content: "";
  width: 1px;
  height: 13px;
  background-color: #e8e8e8;
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.board-info-left > span:last-child:after {
  display: none;
}
.sns-share {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sns-share-label {
  font-weight: 600;
  margin-right: 5px;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
}

.sns-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sns-btn.facebook {
  background: #1877f2;
}

.sns-btn.twitter {
  background: #1da1f2;
}

.sns-btn.kakao {
  background: #fee500;
  color: #000;
}

.sns-btn.url {
  background: #6c757d;
}

.board-view-content {
  min-height: 300px;
  padding: 30px 0;
  border-bottom: 1px solid #dee2e6;
  line-height: 1.8;
}

.board-view-files {
  padding: 20px 0;
  border-bottom: 1px solid #dee2e6;
}
.board-view-files .tit {
  font-weight: 500;
  font-size: 0.9rem;
  color: #888;
}

.file-item {
  padding: 8px 0;
}
.file-item > a {
  font-size: 1rem;
}

.file-link {
  color: #000;
  text-decoration: none;
}

.file-link:hover {
  text-decoration: underline;
  color: var(--main-color);
}

.board-nav {
  border-bottom: 1px solid #dee2e6;
}

.nav-item {
  padding: 15px 0;
  display: flex;
  gap: 20px;
}

.nav-label {
  font-weight: 600;
  min-width: 60px;
}

.nav-link {
  color: #333;
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: underline;
}

.board-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-group {
  display: flex;
  gap: 10px;
}
/* 댓글 영역 */
.board-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #ddd;
}

.board-comments > h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1.5rem;
}

/* 댓글 작성 폼 */
.comment-write {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e0e0e0;
}

.comment-write form {
  display: flex;
  flex-direction: column;
}

.comment-write .form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 0.3rem;
  font-size: 0.95rem;
  background: var(--white);
}

.comment-write .form-control:focus {
  outline: none;
  border-color: #0077be;
}

.comment-write textarea.form-control {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.comment-write .btn {
  align-self: flex-end;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 0.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-write .btn-primary {
  background: #0077be;
  color: var(--white);
}

.comment-write .btn-primary:hover {
  background: #005a91;
}

/* 댓글 목록 */
.comment-list {
  margin-top: 1.5rem;
}

.comment-item {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  background: var(--white);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.comment-header > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.comment-writer {
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}

.comment-date {
  color: #999;
  font-size: 0.85rem;
}

.comment-content {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 삭제 버튼 */
.comment-header .btn-danger {
  padding: 0.3rem 0.8rem;
  border: none;
  border-radius: 0.3rem;
  font-size: 0.8rem;
  cursor: pointer;
  background: #dc3545;
  color: var(--white);
  transition: background 0.2s ease;
}

.comment-header .btn-danger:hover {
  background: #c82333;
}

/* 반응형 */
@media screen and (max-width: 1200px) {
  .board-comments {
    margin-top: 2.5rem;
    padding-top: 1.8rem;
  }
}

@media screen and (max-width: 900px) {
  .board-comments {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .board-comments > h3 {
    font-size: 1.2rem;
  }
  .comment-write {
    padding: 1.2rem;
  }
  .comment-write .btn {
    width: 100%;
  }
  .comment-item {
    padding: 1.2rem;
  }
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .comment-header .btn-danger {
    align-self: flex-end;
  }
}

/* 버튼 스타일 */
.board-view-container .btn {
  padding: 10px 20px !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  border: none !important;
  font-size: 14px !important;
  cursor: pointer !important;
  display: inline-block !important;
  height: auto !important;
  line-height: normal !important;
  transition: background 0.2s !important;
}

.board-view-container .btn-primary {
  background: #007bff !important;
  color: #fff !important;
}

.board-view-container .btn-primary:hover {
  background: #0056b3 !important;
}

.board-view-container .btn-secondary {
  background: #6c757d !important;
  color: #fff !important;
}

.board-view-container .btn-secondary:hover {
  background: #545b62 !important;
}

.board-view-container .btn-danger {
  background: #dc3545 !important;
  color: #fff !important;
}

.board-view-container .btn-danger:hover {
  background: #c82333 !important;
}

.board-view-container .btn-sm {
  padding: 5px 10px !important;
  font-size: 12px !important;
}

/* 댓글 폼 스타일 */
.board-view-container .comment-write .form-control,
.board-view-container .comment-form input[type="text"],
.board-view-container .comment-form input[type="password"],
.board-view-container .comment-form textarea,
.board-view-container input.form-control,
.board-view-container textarea.form-control {
  width: 100% !important;
  padding: 10px !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  margin-bottom: 10px !important;
  box-sizing: border-box !important;
}

.board-view-container .comment-write .btn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .board-view-info {
    flex-direction: column;
    gap: 5px;
  }

  .board-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-group {
    justify-content: center;
  }
}

/********** 글 수정 폼 **********/
.board-write-container * {
  box-sizing: border-box !important;
}

/* 모든 input, select 기본 리셋 */
.board-write-container
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.board-write-container select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.board-write-header {
  border-bottom: 2px solid #333;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.board-write-title {
  font-size: 24px;
  font-weight: 700;
}

.write-form-group {
  margin-bottom: 20px;
}

.write-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.board-write-container .write-form-input,
.board-write-container .write-form-group select,
.board-write-container input[type="text"],
.board-write-container input[type="password"],
.board-write-container input[type="file"],
.board-write-container select,
.board-write-container .write-form-group input[type="text"],
.board-write-container .write-form-group input[type="password"],
.board-write-container .write-form-group input[type="file"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  padding: 10px !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.board-write-container .write-form-textarea,
.board-write-container textarea {
  width: 100% !important;
  min-height: 400px;
  padding: 10px !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  font-family: inherit;
}

.write-checkbox-group {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px;
  margin-bottom: 20px;
  padding: 0.6rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line-color);
  font-size: 0.9rem;
}

.write-checkbox-group label {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin: 0 !important;
}

.write-checkbox-group input[type="checkbox"] {
  width: auto !important;
  margin-right: 5px;
}

.write-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.board-write-container .btn-primary,
.board-write-container .write-buttons .btn-primary {
  background: #007bff !important;
  color: #fff !important;
  padding: 10px 30px !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  border: none !important;
  font-size: 14px !important;
  cursor: pointer !important;
  display: inline-block !important;
  height: auto !important;
  line-height: normal !important;
}

.board-write-container .btn-primary:hover {
  background: #0056b3 !important;
}

.board-write-container .btn-secondary,
.board-write-container .write-buttons .btn-secondary {
  background: #6c757d !important;
  color: #fff !important;
  padding: 10px 30px !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  border: none !important;
  font-size: 14px !important;
  cursor: pointer !important;
  display: inline-block !important;
  height: auto !important;
  line-height: normal !important;
}

.board-write-container .btn-secondary:hover {
  background: #545b62 !important;
}

.file-list {
  margin-top: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 5px;
}

.board-write-container {
  padding: 1rem 0;
  border: 2px solid var(--black);
  border-width: 2px 0 2px 0;
}
.board-write-container .write-form-group {
  border-bottom: 1px solid var(--line-color);
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .write-buttons {
    flex-direction: column;
  }

  .write-buttons button,
  .write-buttons a {
    width: 100%;
  }

  .write-checkbox-group {
    flex-direction: column !important;
    gap: 10px;
  }
}
