/* File: /theme/responsive/chat/options/settings/chat_settings.css */

/* 팝업에서도 미리보기 자연스럽도록 같은 5종 로드 */
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Do+Hyeon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');

.settings-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: flex; justify-content: center; align-items: center; z-index: 2000;
}
.settings-modal-overlay.hidden { display: none; }

.settings-modal-content {
  width: 360px; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  font-family: inherit; /* .chat-wrap 상속 */
}

.settings-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: linear-gradient(135deg, #6cb4cf, #928DAB); color: #fff;
}
.modal-title { font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.modal-actions { display: flex; gap: 8px; align-items: center; }

.modal-close {
  width: 32px; height: 32px; border: 0; background: rgba(255,255,255,.15);
  color: #fff; font-size: 18px; border-radius: 6px; cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,.25); }

.btn-reset {
  height: 32px; padding: 0 10px; border: 0; border-radius: 6px;
  background: rgba(255,255,255,.18); color: #fff; cursor: pointer; font-weight: 600;
}
.btn-reset:hover { background: rgba(255,255,255,.28); }

.settings-modal-body { padding: 12px; }

.field { border: 1px solid #e9e9e9; border-radius: 8px; padding: 12px; margin-bottom: 12px; background: #fafafa; }
.field-title { padding: 0 6px; font-size: 12px; font-weight: 700; color: #666; letter-spacing: .2px; }

.form-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.form-label { width: 90px; font-size: 13px; color: #555; }
.form-select {
  flex: 1; height: 34px; border: 1px solid #ccc; border-radius: 6px; padding: 0 10px; background: #fff;
  font-size: 13px; outline: none;
}
.form-select:focus { border-color: #6cb4cf; box-shadow: 0 0 0 2px rgba(108,180,207,.15); }

.modal-footer { padding: 10px; background: #f7f7f7; border-top: 1px solid #eee; }
.btn-save {
  width: 100%; height: 38px; border: 0; border-radius: 8px; background: #3498db;
  color: #fff; font-weight: 700; cursor: pointer;
}
.btn-save:hover { background: #2d84bf; }
