body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-color: #f0f2f5;
  padding: 20px;
}

.container {
  background: white;
  padding: 3rem; /* 패딩 증가 */
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 500px; /* 전체 너비 약간 증가 */
}

h1 {
  margin-bottom: 2rem;
  color: #1DB954;
  font-weight: 800;
  font-size: 2.2rem;
}

.subtitle {
  color: #777;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* 로그인 폼 입력창 크기 확대 */
.login-form-wrapper {
  position: relative;
  margin-top: 10px;
  min-height: auto; /* 내용에 맞게 조절 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.maintenance-box {
  background: #fff5f5;
  border: 2px solid #ff4d4d;
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.1);
  margin-bottom: 10px;
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.maintenance-header {
  color: #ff4d4d;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.maintenance-main {
  color: #ff4d4d;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 15px;
  word-break: keep-all;
}

.maintenance-early-finish {
  color: #b71c1c; /* 진한 빨간색 */
  font-weight: bold;
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.maintenance-period {
  color: #444;
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.05);
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
}

.maintenance-sub {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: left;
  width: 100%;
}

.maintenance-sub p {
  margin: 4px 0;
}

.maintenance-sub-title {
  font-weight: bold;
  margin-bottom: 6px !important;
  color: #333;
}

.close-notice-btn {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  width: 100%;
  transition: background 0.2s;
}

.close-notice-btn:hover {
  background-color: #ff3333;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 1; /* 원래대로 복구 */
  pointer-events: auto; /* 원래대로 복구 */
  width: 100%;
}

.login-form input {
  padding: 16px; /* 더 크게 */
  font-size: 1.1rem;
  border: 2px solid #eee;
  border-radius: 12px;
  transition: border-color 0.3s;
}

.login-form input:focus {
  border-color: #1DB954;
  outline: none;
}

.error-msg {
  color: #ff4d4f;
  font-size: 0.9rem;
  margin: 5px 0;
}

.welcome-msg {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #444;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 10px;
  border-left: 5px solid #1DB954;
}

/* 음악 입력 그룹 - 메모장 스타일로 변경 */
.music-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.input-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-column input {
  width: 100%;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 1.05rem;
  box-sizing: border-box;
}

/* 곡 제목(내용) 칸을 더 크게 */
#songInput {
  padding: 20px 15px; /* 세로로 더 크게 */
  font-size: 1.2rem;
  font-weight: 500;
  background-color: #fdfdfd;
}

#artistInput:focus, #songInput:focus {
  border-color: #1DB954;
  outline: none;
  background-color: #fff;
}

.memo-list-container {
  text-align: left;
  margin-bottom: 2rem;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 15px;
  background: #fafafa;
}

#memoList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.music-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.music-info {
  flex: 1;
}

.admin-controls {
  display: flex;
  gap: 6px;
}

.edit-btn, .delete-btn {
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

.edit-btn { background-color: #3b82f6; color: white; }
.delete-btn { background-color: #ef4444; color: white; }

/* 모달 오버레이 공통 스타일 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.notification-center {
  max-width: 1000px !important; /* 너비 대폭 확장 */
  width: 95% !important;
  height: 85vh; /* 높이 고정 비율 추가 */
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #181818 !important;
  border-radius: 32px; /* 라운드 값 증가 */
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  animation: modalScaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 로그인 알림 전용 스타일 - 더 크게 수정 */
.login-notice-content {
  max-width: 600px;
  width: 90%;
  background: white;
  padding: 50px 40px;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUpCenter 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpCenter {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.login-notice-body {
  margin-bottom: 35px;
}

.login-notice-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
}

.login-notice-body h3 {
  margin: 0 0 15px 0;
  color: #1DB954;
  font-size: 2rem;
  word-break: keep-all;
}

.login-notice-body p {
  color: #444;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

.login-notice-close-btn {
  background-color: #1DB954;
  color: white;
  border: none;
  padding: 20px 40px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.3rem;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(29, 185, 84, 0.3);
}

.login-notice-close-btn:hover {
  background-color: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(29, 185, 84, 0.4);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1DB954;
  color: white;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: white !important;
}

.close-x-btn {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: auto;
}

.modal-tabs {
  display: flex;
  background: #222;
  border-bottom: 1px solid #333;
}

.modal-tab-btn {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: #888;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}

.modal-tab-btn:hover {
  color: white;
  background: #2a2a2a;
}

.modal-tab-btn.active {
  color: #1DB954;
  border-bottom-color: #1DB954;
  font-weight: bold;
}

.modal-body-container {
  padding: 20px 30px; /* 패딩 약간 증가 */
  max-height: 65vh; /* 대폭 확장 (450px -> 65vh) */
  overflow-y: auto;
  text-align: left;
}

.modal-section {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.post-item {
  background: #282828;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #333;
  transition: transform 0.2s;
}

.post-item:hover {
  transform: translateY(-2px);
  border-color: #444;
}

.post-header {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.post-title {
  color: white;
  font-weight: bold;
  font-size: 1.05rem;
}

.post-meta {
  color: #888;
  font-size: 0.8rem;
}

.post-content {
  padding: 0 20px 20px 20px;
  border-top: 1px solid #333;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.post-content p {
  margin: 10px 0;
}

.post-content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.site-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #282828;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  border: 1px solid #333;
  transition: all 0.2s;
}

.site-item:hover {
  background: #333;
  border-color: #1DB954;
}

.site-name {
  font-weight: bold;
}

.site-link {
  color: #1DB954;
  font-size: 0.85rem;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.hidden {
  display: none !important;
}

/* 알림 보기 바 스타일 (배너 형태) */
.notification-bar {
  width: 100%;
  height: 1cm; /* 1cm 두께 */
  background: linear-gradient(90deg, #1DB954, #191414);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.notification-bar:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
}

.notification-bar span {
  color: white;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: -0.5px;
}

.notification-bar::after {
  content: "🔔";
  position: absolute;
  right: 15px;
  font-size: 1.1rem;
  opacity: 0.5;
}

.admin-panel {
  margin-top: 2rem;
  padding: 20px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 15px;
  text-align: left;
}

.admin-panel-header {
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.admin-control-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.toggle-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  width: auto;
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: #1DB954;
  color: white;
  border-color: #1DB954;
}

.toggle-btn:hover {
  transform: scale(1.05);
}

/* 관리자 빠른 쿨타임 해제 버튼 */
.admin-bypass-cooldown-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: bold;
  background-color: #f59e0b;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
  animation: pulseBypass 2s infinite ease-in-out;
  margin-top: 5px;
}

.admin-bypass-cooldown-btn:hover {
  background-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.35);
}

@keyframes pulseBypass {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 1; transform: scale(1.01); }
}

.admin-control-label-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.control-subtext {
  color: #888;
  font-size: 0.78rem;
  font-weight: normal;
}

.action-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  width: auto;
  box-shadow: none;
}

.warning-action-btn {
  background-color: #ef4444;
  color: white;
}

.warning-action-btn:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

/* 관리자 패널 쿨타임 제어 스타일 */
.cooldown-control-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 12px;
}

.cooldown-header-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.control-label {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.cooldown-summary {
  font-size: 0.85rem;
  color: #1DB954;
  font-weight: 700;
  background: #e8f8ee;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #c2ebd0;
}

.cooldown-stepper-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.cooldown-stepper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.digit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 42px;
}

.stepper-arrow {
  width: 100%;
  height: 24px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  user-select: none;
  padding: 0;
  margin: 0;
}

.stepper-arrow.up {
  border-radius: 6px 6px 0 0;
  border-bottom: none;
}

.stepper-arrow.down {
  border-radius: 0 0 6px 6px;
  border-top: none;
}

.stepper-arrow:hover {
  background: #1DB954;
  color: #ffffff;
  border-color: #1DB954;
}

.stepper-arrow:active {
  transform: scale(0.92);
}

.digit-input {
  width: 100% !important;
  height: 42px !important;
  box-sizing: border-box !important;
  text-align: center;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'Courier New', Courier, monospace, sans-serif;
}

.digit-input:focus {
  border-color: #1DB954 !important;
  box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.25) !important;
  z-index: 2;
  position: relative;
}

.stepper-colon {
  font-size: 1.5rem;
  font-weight: 800;
  color: #374151;
  padding: 0 4px;
  align-self: center;
  user-select: none;
}

.cooldown-btns {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cooldown-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  width: auto;
  box-shadow: none;
}

.cooldown-btn.apply-btn {
  background-color: #1DB954;
  color: #ffffff;
}

.cooldown-btn.apply-btn:hover {
  background-color: #1ed760;
  transform: translateY(-1px);
}

.cooldown-btn.apply-btn.saved {
  background-color: #059669;
}

.cooldown-btn.reset-btn {
  background-color: #f3f4f6;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.cooldown-btn.reset-btn:hover {
  background-color: #e5e7eb;
  color: #111827;
}

@media (max-width: 480px) {
  .cooldown-stepper-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cooldown-btns {
    width: 100%;
    justify-content: center;
  }
  .cooldown-btn {
    flex: 1;
  }
}

.status-added {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-deleted {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.hidden {
  display: none !important;
}


button {
  width: 100%;
  padding: 16px;
  background-color: #1DB954;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

button:hover {
  background-color: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(29, 185, 84, 0.3);
}

.secondary-btn { background-color: #191414; }
.secondary-btn:hover { background-color: #000; }

.voice-btn {
  background-color: #3b82f6;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  width: auto;
  margin-top: 10px;
}

.voice-btn:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.voice-btn svg {
  width: 20px;
  height: 20px;
}

.text-btn {
  background: none;
  color: #bbb;
  font-size: 0.9rem;
  margin-top: 20px;
  width: auto;
  box-shadow: none;
}

.text-btn:hover {
  color: #ff4d4d;
  background: none;
  box-shadow: none;
  transform: none;
}

#result {
  margin-top: 2.5rem;
  padding: 35px;
  background-color: #f0fdf4;
  border: 2px dashed #1DB954;
  border-radius: 20px;
  min-height: 120px;
}

/* 추첨 기록 스타일 */
.history-container {
  margin-top: 3rem;
  text-align: left;
  background: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.tab-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: white;
  color: #666;
  width: auto;
  cursor: pointer;
}

.tab-btn.active {
  background: #1DB954;
  color: white;
  border-color: #1DB954;
  font-weight: bold;
}

.history-container h3 {
  font-size: 1.1rem;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #1DB954;
  display: inline-block;
  padding-bottom: 5px;
}

.dj-picks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 2px solid #1DB954;
  padding-bottom: 5px;
}

.dj-picks-header h3 {
  margin: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.batch-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
  width: auto;
  margin-left: 5px;
}

.restore-btn {
  background-color: #3b82f6;
  color: white;
}

.restore-btn:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
}

.clear-btn {
  background-color: #ef4444;
  color: white;
}

.clear-btn:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
}

#historyList, #djPickList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-item, .dj-pick-item {
  font-size: 0.95rem;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.history-item {
  display: flex;
  align-items: center;
}

.history-item::before {
  content: "✅";
  margin-right: 10px;
  font-size: 0.8rem;
}

.dj-pick-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dj-pick-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dj-pick-main {
  flex: 1;
}

.dj-pick-time {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
  display: block;
}

.status-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.dj-pick-actions {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}

.readd-btn {
  background-color: #1DB954;
  color: white;
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  border: none;
  width: auto;
  cursor: pointer;
}

.readd-btn:hover {
  background-color: #1ed760;
}

.delete-history-btn {
  background-color: #dc3545;
  color: white;
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  border: none;
  width: auto;
  cursor: pointer;
}

.delete-history-btn:hover {
  background-color: #c82333;
}

/* 공지사항 내 신청 폼 스타일 */
.announcement-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #222;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #333;
}

.announcement-form input, .announcement-form textarea {
  background: #181818;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px;
  color: white;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.announcement-form input:focus, .announcement-form textarea:focus {
  border-color: #1DB954;
  outline: none;
}

.announcement-form button {
  background-color: #1DB954;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.announcement-form button:hover {
  background-color: #1ed760;
}

.announcement-list-container {
  margin-top: 20px;
}

.announcement-list-container h4 {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 10px;
  border-left: 4px solid #1DB954;
  padding-left: 10px;
}

.announcement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #181818;
  border-radius: 12px;
  overflow: hidden;
}

.announcement-list li {
  padding: 12px 15px;
  border-bottom: 1px solid #333;
  color: #eee;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-list li:last-child {
  border-bottom: none;
}

.announcement-list .private-badge {
  color: #888;
  font-style: italic;
  font-size: 0.85rem;
}

.announcement-list .admin-view-name {
  color: #1DB954;
  font-weight: bold;
}

.announcement-list .idea-content {
  display: block;
  margin-top: 5px;
  color: #bbb;
  background: #222;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  width: 100%;
}

/* --- Inquiry Section Styles --- */
.inquiry-header {
  margin-bottom: 20px;
}
.inquiry-title {
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
  word-break: keep-all;
}
.inquiry-warning {
  color: #ff4d4d;
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.6;
  padding: 10px;
  background: rgba(255, 77, 77, 0.1);
  border-radius: 6px;
  border-left: 4px solid #ff4d4d;
}
.inquiry-form {
  background: #282828;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #333;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #b3b3b3;
}
.inquiry-author-name {
  color: #1DB954;
  font-weight: bold;
}
.inquiry-textarea {
  width: 100%;
  height: 150px;
  background: #121212;
  border: 1px solid #444;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  resize: vertical;
  margin-top: 5px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.inquiry-textarea:focus {
  outline: none;
  border-color: #1DB954;
}
.inquiry-submit-btn {
  width: 100%;
  padding: 14px;
  background: #1DB954;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
  transition: transform 0.1s, background-color 0.2s;
}
.inquiry-submit-btn:hover {
  background: #1ed760;
}
.inquiry-submit-btn:active {
  transform: scale(0.98);
}
.inquiry-divider {
  border: none;
  border-top: 1px solid #333;
  margin: 30px 0;
}
.inquiry-list-container h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.1rem;
}
.inquiry-list {
  list-style: none;
  padding: 0;
}
.inquiry-item {
  background: #222;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 15px;
  border: 1px solid #333;
  position: relative;
  transition: border-color 0.2s;
}
.inquiry-item:hover {
  border-color: #444;
}
.inquiry-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #888;
}
.inquiry-item-author {
  font-weight: bold;
  color: #1DB954;
}
.inquiry-item-content {
  color: #e0e0e0;
  white-space: pre-wrap;
  margin-bottom: 15px;
  padding: 12px;
  background: #181818;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid #2a2a2a;
}
.inquiry-status-area {
  border-top: 1px solid #333;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inquiry-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.inquiry-status-label {
  font-weight: bold;
  font-size: 0.9rem;
  color: #b3b3b3;
}
.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}
.status-pending { background: #555; color: #fff; }
.status-reviewing { background: #f1c40f; color: #000; }
.status-developing { background: #1DB954; color: #fff; }
.status-rejected { background: #e74c3c; color: #fff; }

.inquiry-rejection-box {
  background: rgba(231, 76, 60, 0.1);
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(231, 76, 60, 0.3);
  margin-top: 5px;
}
.rejection-title {
  display: block;
  color: #e74c3c;
  font-weight: bold;
  font-size: 0.85rem;
  margin-bottom: 5px;
}
.rejection-text {
  color: #ff8a8a;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Admin Specific Controls in List */
.admin-inquiry-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #444;
}
.admin-status-select {
  background: #121212;
  color: #fff;
  border: 1px solid #444;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
}
.admin-reason-input {
  background: #121212;
  color: #fff;
  border: 1px solid #444;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.85rem;
}
.admin-update-btn {
  background: #1DB954;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.85rem;
  align-self: flex-end;
}
