@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette: Soft & Clear Theme */
  --primary-50: #f0f7ff;
  --primary-100: #eef2ff; /* Lightest blue for backgrounds */
  --primary-500: #4f46e5; /* Main action color (Indigo) */
  --primary-600: #4338ca;

  --secondary-500: #10b981; /* Supportive green */
  --secondary-600: #059669;

  --neutral-100: #f9fafb; /* Main background */
  --neutral-200: #e5e7eb; /* Borders */
  --neutral-300: #d1d5db;
  --neutral-700: #374151; /* Body text */
  --neutral-900: #111827; /* Headlines */

  /* Text Colors */
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-700);
  --text-on-primary: #ffffff;

  /* Surface Colors */
  --surface-primary: #ffffff;
  --surface-secondary: var(--neutral-100);

  /* Typography */
  --font-main: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 16px;
  --font-size-lg: 20px;
  --font-size-xl: 24px;

  /* Spacing & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --elevation-1: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --elevation-2: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
body {
  margin: 0;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--surface-secondary);
  color: var(--text-primary);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
a {
  font-weight: var(--font-weight-medium);
  color: var(--primary-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--primary-800);
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--surface-secondary);
  color: var(--text-primary);
  font-family: inherit;
  line-height: inherit;
  overflow-x: hidden;
}
/* Typography Hierarchy */
h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  margin: 0 0 var(--space-lg) 0;
}
h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
}
h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
}
h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  margin: 0 0 var(--space-sm) 0;
}
h5 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  margin: 0 0 var(--space-sm) 0;
}
h6 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  color: var(--text-tertiary);
  margin: 0 0 var(--space-sm) 0;
}
p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
  margin: 0 0 var(--space-md) 0;
}
small {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}
/* Button Base Styles */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 40px;
  user-select: none;
  
  /* Primary button style as default */
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: var(--text-on-primary);
  box-shadow: var(--elevation-1);
}
button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  box-shadow: var(--elevation-2);
  transform: translateY(-1px);
}
button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--elevation-1);
}
button:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
button:disabled {
  background: var(--neutral-300);
  color: var(--text-disabled);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
/* Input Base Styles */
input, textarea, select {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--neutral-400);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  background: var(--surface-primary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}
input:disabled, textarea:disabled, select:disabled {
  background: var(--neutral-100);
  color: var(--text-disabled);
  cursor: not-allowed;
}
/* Utility Classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.shadow-sm { box-shadow: var(--elevation-1); }
.shadow-md { box-shadow: var(--elevation-2); }
.shadow-lg { box-shadow: var(--elevation-3); }
/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-md: 15px;
    --font-size-lg: 17px;
    --font-size-xl: 19px;
    --font-size-2xl: 22px;
    --font-size-3xl: 28px;
    --font-size-4xl: 36px;
  }
  
  button {
    min-height: 44px;
    padding: var(--space-md) var(--space-lg);
  }
}
/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.animate-fade-in {
  animation: fadeIn var(--transition-normal) ease-out;
}
.animate-slide-up {
  animation: slideUp var(--transition-normal) ease-out;
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #000000;
    --surface-primary: #ffffff;
    --primary-500: #0000ff;
    --primary-600: #0000cc;
  }
}
/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* 🌍 다문화 학교 통신문 시스템 - Global Styles */
/* 🌍 다문화 학교 통신문 시스템 - 모바일 반응형 CSS */
/* ===== CSS Variables for Consistent Design ===== */
:root {
  /* Colors */
  --primary-500: #0969da;
  --primary-100: #f0f8ff;
  --surface-primary: #ffffff;
  --surface-secondary: #f8f9fa;
  --text-primary: #24292f;
  --text-secondary: #656d76;
  --text-muted: #8c959f;
  --neutral-200: #e1e4e8;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Shadows */
  --elevation-1: 0 2px 4px rgba(0, 0, 0, 0.1);
  --elevation-2: 0 4px 8px rgba(0, 0, 0, 0.12);
  --elevation-3: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-main: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
}
/* ===== Global Mobile Optimizations ===== */
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}
/* ===== Mobile-First Responsive Breakpoints ===== */
/* Mobile Small: 320px - 480px */
/* Mobile Large: 481px - 768px */
/* Tablet: 769px - 1024px */
/* Desktop: 1025px+ */
/* ===== Platform Container Responsive ===== */
.platform-container {
  display: flex;
  height: 100vh;
  background-color: var(--surface-secondary);
  font-family: var(--font-main);
}
/* Mobile: Stack sidebar and content vertically */
@media (max-width: 768px) {
  .platform-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
}
/* ===== Sidebar Responsive ===== */
.sidebar {
  width: 240px;
  background-color: var(--surface-primary);
  border-right: 1px solid var(--neutral-200);
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
/* Mobile: Transform sidebar */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--surface-primary);
  }
  
  /* Collapsible mobile navigation */
  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
  }
  
  .nav-menu.collapsed {
    display: none;
  }
  
  .nav-menu.expanded {
    display: block;
    margin-top: 16px;
  }
}
@media (min-width: 769px) {
  .mobile-nav-toggle {
    display: none;
  }
}
/* ===== Content Area Responsive ===== */
.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}
@media (max-width: 768px) {
  .content-area {
    padding: 16px;
    overflow-y: visible;
  }
}
@media (max-width: 480px) {
  .content-area {
    padding: 12px;
  }
}
/* ===== App Container Responsive ===== */
.app-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
  background: var(--surface-secondary);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
}
@media (max-width: 768px) {
  .app-container {
    padding: 16px 12px;
  }
}
@media (max-width: 480px) {
  .app-container {
    padding: 12px 8px;
  }
}
/* ===== Control Panel Responsive ===== */
.control-panel {
  background: var(--surface-primary);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--elevation-1);
  border: 1px solid var(--neutral-200);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .control-panel {
    padding: 20px 16px;
    margin-bottom: 16px;
    max-width: none;
    border-radius: var(--radius-sm);
  }
}
@media (max-width: 480px) {
  .control-panel {
    padding: 16px 12px;
    margin-bottom: 12px;
  }
}
/* ===== Button Group Responsive ===== */
.button-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .button-group {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .button-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
/* ===== Language Selector Responsive ===== */
.language-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .language-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}
.language-dropdown {
  padding: 8px 12px;
  border: 2px solid var(--neutral-200);
  border-radius: 8px;
  background: white;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}
@media (max-width: 768px) {
  .language-dropdown {
    min-width: 100%;
  }
}
/* ===== Main Content Responsive ===== */
.main-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
  justify-content: center;
}
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
  }
}
/* ===== Input Section Responsive ===== */
.input-section {
  flex: 1;
  width: 100%;
  max-width: 880px;
  background: var(--surface-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-1);
  border: 1px solid var(--neutral-200);
  padding: 20px;
}
@media (max-width: 768px) {
  .input-section {
    max-width: none;
    padding: 16px;
    border-radius: var(--radius-sm);
  }
}
@media (max-width: 480px) {
  .input-section {
    padding: 12px;
  }
}
/* ===== Notice Container Responsive ===== */
.notice-container {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px;
  margin: 24px 0;
  box-shadow: var(--elevation-2);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .notice-container {
    padding: 20px 16px;
    margin: 16px 0;
  }
}
@media (max-width: 480px) {
  .notice-container {
    padding: 16px 12px;
    margin: 12px 0;
    border-radius: var(--radius-sm);
  }
}
/* ===== Modal Responsive ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
  padding: 20px;
}
@media (max-width: 768px) {
  .modal-overlay {
    padding: 16px;
    align-items: flex-start;
    padding-top: 20px;
  }
}
@media (max-width: 480px) {
  .modal-overlay {
    padding: 12px;
    padding-top: 16px;
  }
}
.modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--elevation-3);
  position: relative;
}
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 24px 20px;
    max-height: 90vh;
    border-radius: var(--radius-md);
  }
}
@media (max-width: 480px) {
  .modal-content {
    width: 100%;
    padding: 20px 16px;
    max-height: 95vh;
    border-radius: var(--radius-sm);
  }
}
/* ===== Form Elements Responsive ===== */
.form-group {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 16px;
  }
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--neutral-200);
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  font-family: var(--font-main);
}
@media (max-width: 768px) {
  .form-input,
  .form-textarea,
  .form-select {
    padding: 14px 12px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
}
/* ===== Button Responsive ===== */
.btn {
  padding: 12px 24px;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-main);
  min-height: 44px; /* Touch target minimum */
}
@media (max-width: 768px) {
  .btn {
    padding: 14px 20px;
    font-size: 16px;
    min-height: 48px; /* Larger touch target on mobile */
  }
}
@media (max-width: 480px) {
  .btn {
    padding: 16px 20px;
    width: 100%;
    justify-content: center;
  }
}
/* ===== Table Responsive ===== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  .table-responsive {
    margin: 0 -16px;
    padding: 0 16px;
  }
}
/* ===== Copy Button Enhancement ===== */
.copy-button-container {
  position: relative;
  margin-top: 12px;
}
.copy-button {
  background: var(--primary-500);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.copy-button:hover {
  background: #0860ca;
  transform: translateY(-1px);
  box-shadow: var(--elevation-2);
}
.copy-button:active {
  transform: translateY(0);
}
.copy-button.success {
  background: var(--success-color);
}
@media (max-width: 768px) {
  .copy-button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
    min-height: 48px;
  }
}
/* ===== Status Message Responsive ===== */
.status-message {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .status-message {
    padding: 14px 16px;
    font-size: 15px;
  }
}
/* ===== Progress Indicator Responsive ===== */
.progress-indicator {
  width: 100%;
  height: 6px;
  background-color: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin: 12px 0;
}
/* ===== Accessibility Enhancements ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Focus styles for keyboard navigation */
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
/* ===== High Contrast Mode Support ===== */
@media (prefers-contrast: high) {
  :root {
    --neutral-200: #000000;
    --text-secondary: #000000;
    --text-muted: #333333;
  }
}
/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --surface-primary: #1f2328;
    --surface-secondary: #0d1117;
    --text-primary: #f0f6fc;
    --text-secondary: #8d96a0;
    --text-muted: #656d76;
    --neutral-200: #30363d;
  }
}
/* ===== Print Styles ===== */
@media print {
  .sidebar,
  .control-panel,
  .button-group,
  .copy-button,
  .modal-overlay {
    display: none !important;
  }
  
  .notice-container {
    box-shadow: none;
    border: 1px solid #000;
    page-break-inside: avoid;
  }
  
  .app-container {
    padding: 0;
  }
}
/* ===== PWA Support ===== */
@media (display-mode: standalone) {
  .app-container {
    padding-top: env(safe-area-inset-top, 20px);
    padding-bottom: env(safe-area-inset-bottom, 20px);
  }
}
/* ===== Loading States ===== */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ===== Utility Classes ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.hidden {
  display: none;
}
.visible {
  display: block;
}
/* ===== Enhanced Touch Targets ===== */
@media (pointer: coarse) {
  .btn,
  .copy-button,
  .form-input,
  .form-select {
    min-height: 48px;
  }
  
  .mobile-nav-toggle {
    min-height: 44px;
    min-width: 44px;
  }
}
/* ===== CSS Reset & Global Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #24292f;
  background-color: #f8f9fa;
  line-height: 1.6;
  overflow-x: hidden;
}
#root {
  min-height: 100vh;
  width: 100%;
}
/* ===== Enhanced Copy Button Styles ===== */
.notice-copy-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(9, 105, 218, 0.05);
  border: 1px solid rgba(9, 105, 218, 0.2);
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.notice-copy-section h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #24292f;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-copy-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.enhanced-copy-button {
  background: #0969da;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  white-space: nowrap;
}
.enhanced-copy-button:hover {
  background: #0860ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(9, 105, 218, 0.3);
}
.enhanced-copy-button:active {
  transform: translateY(0);
}
.enhanced-copy-button.success {
  background: #28a745;
}
.enhanced-copy-button.success:hover {
  background: #218838;
}
.enhanced-copy-button:disabled {
  background: #8c959f;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
/* Mobile responsive copy buttons */
@media (max-width: 768px) {
  .notice-copy-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .notice-copy-section h3 {
    font-size: 16px;
  }
  
  .notice-copy-buttons {
    width: 100%;
  }
  
  .enhanced-copy-button {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    font-size: 15px;
    min-height: 44px;
  }
}
@media (max-width: 480px) {
  .notice-copy-buttons {
    flex-direction: column;
  }
  
  .enhanced-copy-button {
    width: 100%;
    padding: 14px 16px;
    min-height: 48px;
  }
}
/* ===== Enhanced Status Messages ===== */
.status-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideIn 0.3s ease-out;
}
.status-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.status-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.status-message.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}
.status-message.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== Progress Indicator Enhancement ===== */
.progress-indicator {
  width: 100%;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin: 12px 0;
}
.progress-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  width: var(--progress, 0%);
  transition: width 0.3s ease;
  border-radius: 4px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}
/* ===== Form Enhancement ===== */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  margin-bottom: 8px;
  color: #24292f;
  font-weight: 500;
  font-size: 14px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #d0d7de;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #ffffff;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
/* Mobile form enhancements */
@media (max-width: 768px) {
  .form-input,
  .form-textarea {
    padding: 14px 12px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
}
/* ===== Loading States ===== */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(2px);
}
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(9, 105, 218, 0.3);
  border-radius: 50%;
  border-top-color: #0969da;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* ===== Toast Notification System ===== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
}
.toast {
  background: white;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: toastSlideIn 0.3s ease-out;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.toast.success {
  border-color: #28a745;
  background: #f8fff9;
}
.toast.error {
  border-color: #dc3545;
  background: #fff8f8;
}
.toast.warning {
  border-color: #ffc107;
  background: #fffcf0;
}
.toast.info {
  border-color: #0969da;
  background: #f0f8ff;
}
@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .toast {
    padding: 14px;
  }
}
/* ===== Accessibility Enhancements ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Focus indicators for keyboard navigation */
.focus-visible {
  outline: 2px solid #0969da;
  outline-offset: 2px;
}
/* High contrast mode support */
@media (prefers-contrast: high) {
  .enhanced-copy-button {
    border: 2px solid currentColor;
  }
  
  .form-input,
  .form-textarea {
    border-width: 3px;
  }
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ===== Print Optimization ===== */
@media print {
  .enhanced-copy-button,
  .toast-container,
  .loading-overlay,
  .status-message {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .notice-container {
    box-shadow: none;
    border: 2px solid black;
    page-break-inside: avoid;
  }
}
/* ===== Dark Theme Support ===== */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0d1117;
    color: #f0f6fc;
  }
  
  .enhanced-copy-button {
    background: #238636;
  }
  
  .enhanced-copy-button:hover {
    background: #2ea043;
  }
  
  .form-input,
  .form-textarea {
    background-color: #21262d;
    border-color: #30363d;
    color: #f0f6fc;
  }
  
  .toast {
    background: #21262d;
    border-color: #30363d;
    color: #f0f6fc;
  }
}