/* ============================================
   일정 등록 & 상담 등록 슬라이드 패널 스타일
   ============================================ */

/* 공통 오버레이 */
.schedule-panel-overlay,
.schedule-edit-panel-overlay,
.counsel-panel-overlay,
.counsel-detail-panel-overlay,
.profile-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.schedule-panel-overlay.active,
.schedule-edit-panel-overlay.active,
.counsel-panel-overlay.active,
.counsel-detail-panel-overlay.active,
.profile-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 공통 패널 컨테이너 */
.counsel-panel-container,
.counsel-detail-panel-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  height: 100%;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 일정등록 패널 - 상단 크기 (너비 30%, 높이 50%) */
.schedule-panel-container,
.schedule-edit-panel-container {
  position: fixed;
  top: 20px;
  right: 0;
  width: 30%;
  height: 50vh;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.schedule-panel-container.active,
.schedule-edit-panel-container.active,
.counsel-panel-container.active,
.counsel-detail-panel-container.active {
  transform: translateX(0);
}

/* 슬라이드 패널 내부 */
.slide-panel {
  width: 100%;
  height: 100%;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 일정등록/수정 패널 - 상단 위치이므로 좌측 그림자 */
.schedule-panel-container .slide-panel,
.schedule-edit-panel-container .slide-panel {
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

/* 패널 헤더 */
.slide-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 19px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-bottom: 3px solid #3498db;
  flex-shrink: 0;
}

.slide-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: white;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.slide-panel-title i {
  font-size: 18px;
  color: #3498db;
}

.slide-panel-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.slide-panel-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 일정 등록 이미지 스타일 */
.schedule-registration-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   상담 등록 팝업 스타일
   ============================================ */

/* 오버레이 */
.counsel-registration-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.counsel-registration-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 팝업 컨테이너 - 상단 배치 */
.counsel-registration-popup {
  position: fixed !important;
  top: 5% !important;
  bottom: auto !important;
  left: 50%;
  transform: translate(-50%, 0) scale(0.9);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.counsel-registration-popup.active {
  position: fixed !important;
  top: 5% !important;
  bottom: auto !important;
  left: 50% !important;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1) !important;
}

/* 팝업 헤더 */
.counsel-registration-popup .popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 17px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-bottom: 3px solid #3498db;
  flex-shrink: 0;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.counsel-registration-popup .popup-header:active {
  cursor: grabbing;
}

.counsel-registration-popup .popup-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

.counsel-registration-popup .popup-title i {
  font-size: 22px;
  color: #3498db;
}

.counsel-registration-popup .popup-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.counsel-registration-popup .popup-close-btn:hover {
  background: rgba(231, 76, 60, 0.9);
  border-color: #e74c3c;
  transform: rotate(90deg);
}

.counsel-registration-popup .popup-close-btn:active {
  transform: rotate(90deg) scale(0.95);
}

/* 팝업 본문 */
.counsel-registration-popup .popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #f8f9fa;
}

/* 이미지 */
.counsel-registration-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 스크롤바 스타일 */
.counsel-registration-popup .popup-body::-webkit-scrollbar {
  width: 10px;
}

.counsel-registration-popup .popup-body::-webkit-scrollbar-track {
  background: #e9ecef;
}

.counsel-registration-popup .popup-body::-webkit-scrollbar-thumb {
  background: #adb5bd;
  border-radius: 5px;
  border: 2px solid #e9ecef;
}

.counsel-registration-popup .popup-body::-webkit-scrollbar-thumb:hover {
  background: #868e96;
}

/* 팝업 푸터 */
.counsel-registration-popup .popup-footer,
.counsel-history-popup .popup-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  border-top: 3px solid #3498db;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* 팝업 푸터 버튼 공통 */
.counsel-registration-popup .popup-footer .btn,
.counsel-history-popup .popup-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Primary 버튼 (파란색) */
.counsel-registration-popup .popup-footer .btn-primary,
.counsel-history-popup .popup-footer .btn-primary {
  background: #3498db;
  color: white;
}

.counsel-registration-popup .popup-footer .btn-primary:hover,
.counsel-history-popup .popup-footer .btn-primary:hover {
  background: #2980b9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Edit 버튼 (주황색) */
.counsel-history-popup .popup-footer .btn-edit {
  background: #f39c12;
  color: white;
}

.counsel-history-popup .popup-footer .btn-edit:hover {
  background: #e67e22;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}

/* Delete 버튼 (빨간색) */
.counsel-history-popup .popup-footer .btn-delete {
  background: #e74c3c;
  color: white;
}

.counsel-history-popup .popup-footer .btn-delete:hover {
  background: #c0392b;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

/* Secondary 버튼 (회색) */
.counsel-registration-popup .popup-footer .btn-secondary,
.counsel-history-popup .popup-footer .btn-secondary {
  background: #95a5a6;
  color: white;
}

.counsel-registration-popup .popup-footer .btn-secondary:hover,
.counsel-history-popup .popup-footer .btn-secondary:hover {
  background: #7f8c8d;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(149, 165, 166, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .counsel-registration-popup {
    width: 95%;
    max-height: 95vh;
    border-radius: 12px;
  }
  
  .counsel-registration-popup .popup-header {
    padding: 11px 14px;
  }
  
  .counsel-registration-popup .popup-title {
    font-size: 18px;
    gap: 10px;
  }
  
  .counsel-registration-popup .popup-title i {
    font-size: 20px;
  }
  
  .counsel-registration-popup .popup-close-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* ============================================
   상담내역조회 팝업 스타일
   ============================================ */

/* 오버레이 */
.counsel-history-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.counsel-history-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 팝업 컨테이너 */
.counsel-history-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 950px;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.counsel-history-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* 팝업 헤더 */
.counsel-history-popup .popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 17px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-bottom: 3px solid #3498db;
  flex-shrink: 0;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.counsel-history-popup .popup-header:active {
  cursor: grabbing;
}

.counsel-history-popup .popup-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

.counsel-history-popup .popup-title i {
  font-size: 22px;
  color: #3498db;
}

.counsel-history-popup .popup-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.counsel-history-popup .popup-close-btn:hover {
  background: rgba(231, 76, 60, 0.9);
  border-color: #e74c3c;
  transform: rotate(90deg);
}

.counsel-history-popup .popup-close-btn:active {
  transform: rotate(90deg) scale(0.95);
}

/* 팝업 본문 */
.counsel-history-popup .popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #ecf0f1;
}

/* 이미지 */
.counsel-history-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 스크롤바 스타일 */
.counsel-history-popup .popup-body::-webkit-scrollbar {
  width: 10px;
}

.counsel-history-popup .popup-body::-webkit-scrollbar-track {
  background: #d5dade;
}

.counsel-history-popup .popup-body::-webkit-scrollbar-thumb {
  background: #16a085;
  border-radius: 5px;
  border: 2px solid #d5dade;
}

.counsel-history-popup .popup-body::-webkit-scrollbar-thumb:hover {
  background: #138d75;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .counsel-history-popup {
    width: 95%;
    max-width: 100%;
    max-height: 95vh;
    border-radius: 12px;
  }
  
  .counsel-history-popup .popup-header {
    padding: 11px 14px;
  }
  
  .counsel-history-popup .popup-title {
    font-size: 18px;
    gap: 10px;
  }
  
  .counsel-history-popup .popup-title i {
    font-size: 20px;
  }
  
  .counsel-history-popup .popup-close-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* 패널 바디 */
.slide-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 폼 스타일 */
.schedule-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: #2c3e50;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.form-label i {
  font-size: 13px;
  color: #3498db;
  width: 16px;
  text-align: center;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  font-size: var(--text-sm);
  color: #2c3e50;
  background: white;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #adb5bd;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

/* 셀렉트 박스 스타일 */
select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  appearance: none;
}

/* 패널 푸터 */
.slide-panel-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 19px;
  background: white;
  border-top: 1px solid #dee2e6;
  flex-shrink: 0;
}

.btn-cancel,
.btn-save,
.btn-delete,
.btn-edit {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.btn-cancel {
  background: white;
  color: #6c757d;
  border-color: #dee2e6;
}

.btn-cancel:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
  color: #495057;
}

.btn-save {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.btn-save:hover {
  background: #2980b9;
  border-color: #2980b9;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.btn-delete {
  background: #e74c3c;
  color: white;
  border-color: #e74c3c;
}

.btn-delete:hover {
  background: #c0392b;
  border-color: #c0392b;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.btn-edit {
  background: #f39c12;
  color: white;
  border-color: #f39c12;
}

.btn-edit:hover {
  background: #e67e22;
  border-color: #e67e22;
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.btn-cancel i,
.btn-save i {
  font-size: 13px;
}

/* 스크롤바 스타일 */
.slide-panel-body::-webkit-scrollbar {
  width: 6px;
}

.slide-panel-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.slide-panel-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.slide-panel-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 반응형 */
@media (max-width: 768px) {
  .slide-panel-content {
    width: 100%;
    max-width: 450px;
  }
}

/* ============================================
   상담 상세보기 카드 스타일
   ============================================ */

.counsel-detail-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

/* 상담 정보 헤더 */
.counsel-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 16px;
}

.counsel-detail-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.counsel-detail-id {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: #2c3e50;
  font-family: 'Courier New', monospace;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.counsel-detail-date {
  font-size: var(--text-sm);
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  line-height: 1.4;
}

.counsel-detail-date::before {
  content: '\f073';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
}

.counsel-detail-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

/* 상담 제목 */
.counsel-detail-title {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: #2c3e50;
  padding: 0 16px 16px;
  line-height: 1.5;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* 상담 정보 그리드 */
.counsel-detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 16px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 16px;
}

.counsel-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.counsel-detail-item label {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.counsel-detail-item label i {
  font-size: 10px;
  color: #3498db;
}

.counsel-detail-item div {
  font-size: var(--text-sm);
  color: #2c3e50;
  font-weight: 500;
  padding: 6px 10px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  line-height: 1.5;
}

/* 상담 내용 섹션 */
.counsel-detail-content-section {
  padding: 0 16px 20px;
}

.counsel-detail-content-section label {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.counsel-detail-content-section label i {
  font-size: 10px;
  color: #3498db;
}

.counsel-detail-content {
  font-size: var(--text-sm);
  color: #2c3e50;
  line-height: 1.7;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  min-height: 120px;
  white-space: pre-wrap;
  word-break: break-word;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* 액션 버튼 */
.counsel-detail-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

.btn-counsel-edit,
.btn-counsel-delete {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 12px;
  border: none;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.btn-counsel-edit {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.btn-counsel-edit:hover {
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
}

.btn-counsel-delete {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.btn-counsel-delete:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4);
}

.btn-counsel-edit i,
.btn-counsel-delete i {
  font-size: 12px;
}

/* ============================================
   상담 등록 폼 스타일 (이미지 100% 일치)
   ============================================ */

.counsel-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group-counsel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 라벨과 버튼을 같은 줄에 배치 */
.form-label-with-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* 처리내용 삭제 버튼 */
.btn-delete-processing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  background: white;
  border: 1px solid #ef4444;
  border-radius: 4px;
  color: #ef4444;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete-processing:hover {
  background: #ef4444;
  color: white;
}

.btn-delete-processing i {
  font-size: 9px;
}

/* 연락요청상태 & 방문요청상태 같은 줄에 표시 */
.form-group-inline {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 24px;
}

.form-inline-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-group-counsel .form-label-counsel + .form-value-counsel + .form-label-counsel {
  margin-left: 16px;
}

.form-group-counsel .form-value-counsel {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.form-label-counsel {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.required-mark {
  color: #e74c3c;
  font-size: 14px;
  font-weight: 700;
}

.form-input-counsel,
.form-select-counsel,
.form-textarea-counsel {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: var(--text-sm);
  color: #2c3e50;
  background: white;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

.form-input-counsel:focus,
.form-select-counsel:focus,
.form-textarea-counsel:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.form-input-counsel::placeholder,
.form-textarea-counsel::placeholder {
  color: #adb5bd;
}

.form-input-counsel-short {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 13px;
  color: #2c3e50;
  background: white;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.form-input-counsel-short:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.form-select-counsel {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-textarea-counsel {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* 에디터 툴바 */
.editor-toolbar {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.editor-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #6c757d;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.editor-btn:hover {
  background: #e9ecef;
  color: #2c3e50;
  border-color: #adb5bd;
}

.editor-toolbar + .form-textarea-counsel {
  border-radius: 0 0 4px 4px;
  border-top: none;
}

/* 라디오 버튼 */
.radio-label-counsel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: var(--text-sm);
  color: #495057;
  font-weight: 500;
  margin-right: 5px;
  white-space: nowrap;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.radio-label-counsel:last-child {
  margin-right: 0;
}

.radio-label-counsel:hover {
  border-color: #3498db;
  background: #f8f9fa;
}

.radio-label-counsel input[type="radio"] {
  margin: 0;
  cursor: pointer;
  accent-color: #3498db;
}

.radio-label-counsel input[type="radio"]:checked + span {
  color: #3498db;
  font-weight: 600;
}

.radio-label-counsel:has(input[type="radio"]:checked) {
  border-color: #3498db;
  background: #e3f2fd;
}

/* 주소 입력 그룹 */
.address-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-address-map {
  padding: 10px 14px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #495057;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-address-map:hover {
  background: #f8f9fa;
  border-color: #3498db;
  color: #3498db;
}

.btn-address-map i {
  font-size: 12px;
}

.address-divider {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.form-input-address {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 13px;
  color: #2c3e50;
  background: white;
  transition: all 0.2s;
}

.form-input-address:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.form-input-address::placeholder {
  color: #adb5bd;
}

/* 미리보기 버튼 */
.btn-preview {
  padding: 10px 16px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #495057;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-preview:hover {
  background: #f8f9fa;
  border-color: #3498db;
  color: #3498db;
}

.btn-preview i {
  font-size: 13px;
}

/* 패널 푸터 (상담 등록) */
.slide-panel-footer-counsel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  background: white;
  border-top: 1px solid #dee2e6;
  flex-shrink: 0;
}

.btn-counsel-save,
.btn-counsel-close {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-counsel-save {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.btn-counsel-save:hover {
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
}

.btn-counsel-close {
  background: white;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.btn-counsel-close:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
  color: #495057;
}

.btn-counsel-save i {
  font-size: 12px;
}

/* 수정 모드 버튼 */
.btn-counsel-edit-mode {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.btn-counsel-edit-mode:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4);
}

.btn-counsel-edit-mode i {
  font-size: 12px;
}

.btn-counsel-delete {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-counsel-delete:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

.btn-counsel-delete i {
  font-size: 12px;
}

