/* ==========================================================================
   텍스트 반복기 - 통합 스타일시트
   ========================================================================== */

/* 전역 box-sizing */
.text-repeater-container,
.text-repeater-container *,
.text-repeater-container *::before,
.text-repeater-container *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   CSS 변수 - 라이트 모드 (기본)
   ========================================================================== */
.text-repeater-container {
  /* 배경색 */
  --bg-primary: #f5f5f0;      /* 크림색 메인 배경 */
  --bg-secondary: #fff;        /* 흰색 섹션 배경 */
  --bg-section: #fff;
  
  /* 테두리 */
  --border-color: #333;        /* 진한 검정 테두리 */
  
  /* 텍스트 */
  --text-primary: #222;        /* 진한 검정 */
  --text-secondary: #555;      /* 중간 회색 */
  --text-light: #666;          /* 밝은 회색 */
  
  /* 브랜드 색상 */
  --color-accent: #3498db;     /* 파란색 (강조/주요 버튼) */
  --color-success: #27ae60;    /* 초록색 (성공/완료) */
  --color-warning: #f39c12;    /* 주황색 (경고/리셋) */
  --color-danger: #e74c3c;     /* 빨간색 (위험/에러) */
  --color-purple: #9b59b6;     /* 보라색 (보조) */
  --color-teal: #1abc9c;       /* 청록색 (정보) */
  
  /* 그림자 (네오브루탈리즘) */
  --shadow-sm: 2px 2px 0 rgba(0,0,0,0.1);
  --shadow-md: 4px 4px 0 rgba(0,0,0,0.15);
  --shadow-lg: 8px 8px 0 rgba(0,0,0,0.15);
  
  /* 입력 포커스 */
  --input-focus-bg: #fffacd;   /* 연한 노란색 하이라이트 */
  
  /* 헤더 타이틀 */
  --title-color: #2c3e50;      /* 진한 파란 회색 */
  --title-shadow: 2px 2px 0 rgba(255,255,255,0.5);
  
  /* 버튼 호버 배경 */
  --btn-hover-overlay: rgba(0,0,0,0.1);
  
  /* 기타 */
  --copy-btn-bg: #fff;
  --copy-btn-hover-bg: #f0f0f0;
}

/* ==========================================================================
   CSS 변수 - 다크 모드 (수동 토글)
   ========================================================================== */
.text-repeater-container.dark {
  /* 배경색 - 다크 그레이 톤 */
  --bg-primary: #1a1a1a;       /* 다크 그레이 메인 배경 */
  --bg-secondary: #2d2d2d;     /* 중간 다크 그레이 섹션 배경 */
  --bg-section: #2d2d2d;
  
  /* 테두리 - 밝은 그레이로 대비 */
  --border-color: #e0e0e0;     /* 밝은 그레이 테두리 */
  
  /* 텍스트 - 밝은 색상으로 가독성 확보 */
  --text-primary: #e8e8e8;     /* 밝은 그레이 (거의 흰색) */
  --text-secondary: #b0b0b0;   /* 중간 밝은 그레이 */
  --text-light: #909090;       /* 약간 어두운 밝은 그레이 */
  
  /* 브랜드 색상 - 다크 배경에서 더 밝게 조정 */
  --color-accent: #5dade2;     /* 더 밝은 파란색 */
  --color-success: #52c77a;    /* 더 밝은 초록색 */
  --color-warning: #f5b041;    /* 더 밝은 주황색 */
  --color-danger: #ec7063;     /* 더 밝은 빨간색 */
  --color-purple: #af7ac5;     /* 더 밝은 보라색 */
  --color-teal: #48d1cc;       /* 더 밝은 청록색 */
  
  /* 그림자 - 밝은 색으로 변경 (네오브루탈리즘) */
  --shadow-sm: 2px 2px 0 rgba(255,255,255,0.08);
  --shadow-md: 4px 4px 0 rgba(255,255,255,0.12);
  --shadow-lg: 8px 8px 0 rgba(255,255,255,0.12);
  
  /* 입력 포커스 - 약간 밝은 다크 그레이 */
  --input-focus-bg: #3a3a3a;   /* 어두운 배경에서 약간 밝게 */
  
  /* 헤더 타이틀 - 밝은 파란색 계열 */
  --title-color: #7fb3d5;      /* 밝은 파란색 */
  --title-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  
  /* 버튼 호버 배경 */
  --btn-hover-overlay: rgba(255,255,255,0.1);
  
  /* 기타 */
  --copy-btn-bg: #3a3a3a;
  --copy-btn-hover-bg: #4a4a4a;
}

/* ==========================================================================
   시스템 다크모드 자동 감지
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  .text-repeater-container:not(.dark):not(.light) {
    /* 배경색 */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-section: #2d2d2d;
    
    /* 테두리 */
    --border-color: #e0e0e0;
    
    /* 텍스트 */
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --text-light: #909090;
    
    /* 브랜드 색상 */
    --color-accent: #5dade2;
    --color-success: #52c77a;
    --color-warning: #f5b041;
    --color-danger: #ec7063;
    --color-purple: #af7ac5;
    --color-teal: #48d1cc;
    
    /* 그림자 */
    --shadow-sm: 2px 2px 0 rgba(255,255,255,0.08);
    --shadow-md: 4px 4px 0 rgba(255,255,255,0.12);
    --shadow-lg: 8px 8px 0 rgba(255,255,255,0.12);
    
    /* 입력 포커스 */
    --input-focus-bg: #3a3a3a;
    
    /* 헤더 타이틀 */
    --title-color: #7fb3d5;
    --title-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    
    /* 버튼 호버 배경 */
    --btn-hover-overlay: rgba(255,255,255,0.1);
    
    /* 기타 */
    --copy-btn-bg: #3a3a3a;
    --copy-btn-hover-bg: #4a4a4a;
  }
}

/* ==========================================================================
   메인 컨테이너
   ========================================================================== */
.text-repeater-container {
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: 15px auto;
  padding: 12px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  font-family: 'Noto Sans KR', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  line-height: 1.5;
}

/* ==========================================================================
   다크모드 토글 버튼
   ========================================================================== */
.dark-mode-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  font-size: 18px;
  z-index: 10;
  border-radius: 0;
}

.dark-mode-toggle:hover {
  transform: translate(0.5px, 0.5px);
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.15);
}

.dark-mode-toggle:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.theme-icon {
  display: inline-block;
  line-height: 1;
}

/* ==========================================================================
   헤더
   ========================================================================== */
.calculator-header {
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 3px double var(--border-color);
}

.calculator-header h2 {
  margin: 0 0 6px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--title-color);
  text-shadow: var(--title-shadow);
  line-height: 1.2;
}

.subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ==========================================================================
   메인 그리드
   ========================================================================== */
.calculator-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

/* ==========================================================================
   섹션 공통
   ========================================================================== */
.input-section,
.result-section,
.template-section,
.tips-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.input-section .section-title {
  color: var(--color-accent);
}

.result-section .section-title {
  color: var(--color-success);
}

.template-section .section-title,
.tips-section .section-title {
  color: var(--color-purple);
}

.section-title svg {
  flex-shrink: 0;
}

/* ==========================================================================
   입력 그룹
   ========================================================================== */
.input-group {
  margin-bottom: 12px;
}

.input-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.text-input {
  width: 100%;
  padding: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.2s;
  resize: vertical;
}

.text-input:focus {
  outline: none;
  background: var(--input-focus-bg);
  border-color: var(--color-accent);
}

.text-input::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

/* 텍스트 입력 래퍼 */
.text-input-wrapper {
  position: relative;
}

.char-counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  font-family: 'Courier New', monospace;
}

/* ==========================================================================
   빠른 반복 버튼
   ========================================================================== */
.quick-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.btn-quick {
  padding: 8px 12px;
  background: var(--color-success);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.btn-quick:hover {
  transform: translate(0.5px, 0.5px);
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.15);
  background: color-mix(in srgb, var(--color-success) 90%, var(--btn-hover-overlay));
}

.btn-quick:active,
.btn-quick.active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* ==========================================================================
   옵션 박스
   ========================================================================== */
.options-box {
  padding: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.options-title {
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 라디오 그룹 */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  border-radius: 2px;
}

.radio-option:hover {
  background: var(--btn-hover-overlay);
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.radio-label {
  font-size: 13px;
  color: var(--text-primary);
}

/* 사용자 정의 구분자 */
.custom-separator-box {
  margin-top: 8px;
}

/* 체크박스 옵션 */
.checkbox-option {
  display: flex;
  align-items: center;
  padding: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  border-radius: 2px;
  margin-top: 8px;
}

.checkbox-option:hover {
  background: var(--btn-hover-overlay);
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-color);
  border-radius: 3px;
  margin-right: 8px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-label {
  font-size: 13px;
  color: var(--text-primary);
}

/* ==========================================================================
   버튼 스타일
   ========================================================================== */
.button-group {
  display: flex;
  gap: 8px;
}

/* 계산하기 버튼 (주요 버튼) */
.btn-calculate {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--color-accent);
  border: 1.5px solid var(--border-color);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}

.btn-calculate:hover:not(:disabled) {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.15);
  background: color-mix(in srgb, var(--color-accent) 90%, var(--btn-hover-overlay));
}

.btn-calculate:active:not(:disabled) {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.btn-calculate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: var(--shadow-md) !important;
}

/* 초기화 버튼 */
.btn-reset {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--color-warning);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.btn-reset:hover {
  transform: translate(0.5px, 0.5px);
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.15);
  background: color-mix(in srgb, var(--color-warning) 90%, var(--btn-hover-overlay));
}

.btn-reset:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* 복사 버튼 */
.btn-copy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--color-success);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.btn-copy:hover {
  transform: translate(0.5px, 0.5px);
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.15);
  background: color-mix(in srgb, var(--color-success) 90%, var(--btn-hover-overlay));
}

.btn-copy:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* 다운로드 버튼 */
.btn-download {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--color-teal);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.btn-download:hover {
  transform: translate(0.5px, 0.5px);
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.15);
  background: color-mix(in srgb, var(--color-teal) 90%, var(--btn-hover-overlay));
}

.btn-download:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* 결과 지우기 버튼 */
.btn-clear {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--color-danger);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.btn-clear:hover {
  transform: translate(0.5px, 0.5px);
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.15);
  background: color-mix(in srgb, var(--color-danger) 90%, var(--btn-hover-overlay));
}

.btn-clear:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* ==========================================================================
   결과 섹션
   ========================================================================== */
.result-badge {
  margin-left: auto;
  padding: 3px 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.result-wrapper {
  margin-bottom: 10px;
}

.result-output {
  width: 100%;
  min-height: 250px;
  padding: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-family: 'Courier New', 'Consolas', monospace;
  color: var(--text-primary);
  line-height: 1.6;
  resize: vertical;
}

.result-output:focus {
  outline: none;
  background: var(--input-focus-bg);
  border-color: var(--color-success);
}

/* 결과 통계 */
.result-stats {
  display: flex;
  gap: 16px;
  padding: 10px 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.stat-value {
  color: var(--color-accent);
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

/* ==========================================================================
   하단 그리드
   ========================================================================== */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

/* ==========================================================================
   템플릿 섹션
   ========================================================================== */
.template-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.btn-template {
  padding: 10px 12px;
  background: var(--color-purple);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  text-align: center;
}

.btn-template:hover {
  transform: translate(0.5px, 0.5px);
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.15);
  background: color-mix(in srgb, var(--color-purple) 90%, var(--btn-hover-overlay));
}

.btn-template:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* ==========================================================================
   사용 팁 섹션
   ========================================================================== */
.tips-list {
  display: grid;
  gap: 8px;
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--bg-primary);
  border-left: 3px solid var(--color-accent);
  font-size: 13px;
  color: var(--text-primary);
}

.tip-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.tip-text {
  flex: 1;
}

/* ==========================================================================
   주의사항
   ========================================================================== */
.notice-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fff4e6;
  border: 1px solid #f39c12;
  font-size: 13px;
  color: #c05621;
  line-height: 1.5;
}

.text-repeater-container.dark .notice-box {
  background: #3a2a1a;
  border-color: #f5b041;
  color: #f5b041;
}

.notice-box svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.notice-box strong {
  font-weight: 700;
}

/* ==========================================================================
   토스트 알림
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.15);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  max-width: 300px;
  pointer-events: auto;
  animation: slideInRight 0.3s ease, slideOutRight 0.3s ease 3s forwards;
}

.toast.toast-success {
  background: var(--color-success);
}

.toast.toast-error {
  background: var(--color-danger);
}

.toast.toast-warning {
  background: var(--color-warning);
}

.toast.toast-info {
  background: var(--color-accent);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ==========================================================================
   반응형 - 768px
   ========================================================================== */
@media (max-width: 768px) {
  .text-repeater-container {
    margin: 8px 5px;
    width: calc(100% - 10px);
    padding: 10px;
  }

  .calculator-header h2 {
    font-size: 24px;
  }

  .calculator-main,
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dark-mode-toggle {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 16px;
  }

  .section-title {
    font-size: 16px;
  }

  .quick-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
  }

  .btn-calculate,
  .btn-reset,
  .btn-copy,
  .btn-download,
  .btn-clear {
    flex: 1;
  }

  .result-stats {
    flex-direction: column;
    gap: 8px;
  }

  .template-buttons {
    grid-template-columns: 1fr;
  }

  .toast-container {
    right: 10px;
    left: 10px;
  }

  .toast {
    max-width: 100%;
  }
}

/* ==========================================================================
   반응형 - 480px
   ========================================================================== */
@media (max-width: 480px) {
  .text-repeater-container {
    margin: 5px 2px;
    width: calc(100% - 4px);
    padding: 8px;
    border-width: 1px;
  }

  .calculator-header h2 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .subtitle {
    font-size: 13px;
  }

  .dark-mode-toggle {
    top: 8px;
    right: 8px;
    padding: 5px 8px;
    font-size: 14px;
  }

  .section-title {
    font-size: 15px;
    gap: 4px;
  }

  .section-title svg {
    width: 16px;
    height: 16px;
  }

  .input-section,
  .result-section,
  .template-section,
  .tips-section {
    padding: 10px;
  }

  .text-input {
    padding: 8px;
    font-size: 13px;
  }

  .btn-calculate,
  .btn-reset,
  .btn-copy,
  .btn-download,
  .btn-clear,
  .btn-quick,
  .btn-template {
    padding: 8px 10px;
    font-size: 12px;
  }

  .result-output {
    min-height: 200px;
    padding: 10px;
    font-size: 12px;
  }

  .notice-box {
    padding: 10px;
    font-size: 12px;
  }
}

/* ==========================================================================
   접근성 개선
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 포커스 가시성 개선 */
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}