@charset "UTF-8";/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f3f4f6;
}

#root {
  min-height: 100vh;
}

/* SweetAlert2 z-index fix for modals */
.swal2-z-top {
  z-index: 99999 !important;
}

.swal2-container.swal2-z-top {
  z-index: 99999 !important;
}

.swal2-popup.swal2-z-top {
  z-index: 99999 !important;
}
.app {
  min-height: 100vh;
  background-color: #f3f4f6;
}

.container {
  max-width: 710px;
  margin: 0 auto;
  padding: 1rem 1rem 1rem 1rem;
}



.title {
  font-size: 2rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 2rem;
  text-align: center;
}

/* Loading */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-popup {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
  border-top-color: #3b82f6;
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  border-right-color: #10b981;
  animation-delay: 0.5s;
}

.spinner-ring:nth-child(3) {
  border-bottom-color: #f59e0b;
  animation-delay: 1s;
}

.loading-text {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
  margin-top: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Error */
.error {
  background-color: #fef2f2;
  border: 1px solid #f87171;
  color: #dc2626;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* User List */
.user-list {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.user-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.user-list-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.create-button {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.create-button:hover {
  background-color: #2563eb;
}

.table-container {
  overflow-x: auto;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
}

.user-table th {
  background-color: #f9fafb;
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.user-table td {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: #111827;
}

.user-table tr:hover {
  background-color: #f9fafb;
}

.edit-button {
  color: #6366f1;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
  font-weight: 500;
}

.edit-button:hover {
  color: #4338ca;
}

.delete-button {
  color: #dc2626;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.delete-button:hover {
  color: #b91c1c;
}

.no-users {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

/* 로그인 관련 스타일 */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f7fa;
}

.login-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 420px;
  width: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.login-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid #e1e5e9;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-login-btn:active {
  transform: translateY(0);
}

.google-btn {
  border-color: #4285F4 !important;
  color: #4285F4 !important;
}

.google-btn:hover {
  background: #4285F4 !important;
  color: white !important;
  border-color: #4285F4 !important;
}

.google-btn .social-icon {
  width: 24px;
  height: 24px;
}



.social-icon {
  width: 24px;
  height: 24px;
}

.login-terms {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 1.5rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  }

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-details h3 {
  margin: 0 0 0.25rem 0;
  color: #333;
  font-size: 1.1rem;
}

.user-details p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  }

.logout-btn {
  padding: 0.5rem 1rem;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.logout-btn:hover {
  background: #c82333;
}

/* 인증 성공/실패 페이지 스타일 */
.auth-success,
.auth-failure {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-message {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.auth-message h2 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.5rem;
}

.auth-message p {
  margin-bottom: 1rem;
  color: #666;
  line-height: 1.5;
}

.auth-success .auth-message h2 {
  color: #28a745;
}

.auth-failure .auth-message h2 {
  color: #dc3545;
}

.swal2-z-top {
  z-index: 99999 !important;
}
.swal2-container.swal2-z-top {
  z-index: 99999 !important;
}
.swal2-container.swal2-z-top .swal2-backdrop {
  z-index: 99998 !important;
}

/* 404 페이지 컨테이너 스타일 */
.not-found-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 0;
}/* Admin Dashboard Styles */
.admin-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  width: 100%;
  max-width: none;
}

/* Override container constraints for admin */
.admin-layout .container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Header */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.sidebar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.admin-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user {
  font-size: 0.9rem;
  opacity: 0.9;
}

.admin-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.admin-logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.admin-logout-btn svg {
  font-size: 1rem;
}

/* Container */
.admin-container {
  display: flex;
  flex: 1;
  overflow: visible;
  width: 100%;
  max-width: none;
}

/* Sidebar */
/*
.admin-sidebar {
  width: 250px;
  background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
  color: white;
  transition: width 0.3s ease;
  overflow: hidden;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
*/

.admin-sidebar.collapsed {
  width: 60px;
}

.sidebar-nav {
  padding: 1rem 0;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: #3498db;
}

.nav-item.active {
  background-color: rgba(52, 152, 219, 0.2);
  border-left-color: #3498db;
}

.nav-item svg {
  font-size: 1.2rem;
  margin-right: 1rem;
  min-width: 1.2rem;
}

.nav-text {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.admin-sidebar.collapsed .nav-text {
  display: none;
}

.admin-sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 1rem 0;
}

.admin-sidebar.collapsed .nav-item svg {
  margin-right: 0;
}

/* 축소된 상태에서 호버 툴팁 스타일 */
.admin-sidebar.collapsed .nav-item {
  position: relative;
}

.admin-sidebar.collapsed .nav-item:hover::after {
  content: attr(title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 1000;
  margin-left: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.admin-sidebar.collapsed .nav-item:hover::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-right-color: rgba(0, 0, 0, 0.8);
  margin-left: -0.5rem;
  z-index: 1000;
}

/* Main Content */
.admin-main {
  flex: 1;
  padding: 1.5rem 3rem;
  background: #f8f9fa;
  overflow-y: auto;
  width: 100%;
  max-width: none;
}

/* Dashboard Container */
.admin-dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  max-width: none;
  /* padding: 0 2rem; */
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: none;
  margin: 0;
  width: 100%;
}

/* Second Row Grid */
.dashboard-grid.second-row {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}

.dashboard-card.wide {
  grid-column: span 1;
}

.dashboard-card.tall {
  grid-row: span 2;
}

/* Dashboard Cards */
.dashboard-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: none;
  min-height: 500px;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  min-height: 50px;
}

.admin-card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.more-button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.more-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.card-content {
  padding: 1.5rem;
  overflow: visible;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  width: 100%;
}

/* 환율 통계 카드의 stats-grid는 1줄로 */
.dashboard-card:nth-child(2) .stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dashboard-card:nth-child(2) .stat-item {
  min-height: 100px;
  padding: 1.2rem;
}

/* 환율 통계 텍스트 1줄 처리 */
.dashboard-card:nth-child(2) .stat-label {
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-card:nth-child(2) .stat-subtitle {
  font-size: 0.7rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 사용자 통계 카드의 stats-grid는 2x2로 */
.dashboard-card:nth-child(3) .stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.dashboard-card:nth-child(3) .stat-item {
  min-height: 100px;
  padding: 1.2rem;
}

/* 사용자 통계 차트 범례 텍스트 줄이기 */
.dashboard-card:nth-child(3) .legend-label {
  font-size: 0.65rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transition: transform 0.3s ease;
  width: 100%;
  min-height: 80px;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-item.wide {
  grid-column: span 2;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.3rem;
}

.stat-subtitle {
  font-size: 0.7rem;
  color: #868e96;
}

/* Top Currencies */
.top-currencies {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.currency-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  width: 100%;
  min-height: 60px;
}

.currency-item:hover {
  transform: translateX(4px);
}

.currency-rank {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}

.currency-code {
  font-weight: 600;
  color: #2c3e50;
  flex: 1;
  margin-left: 1rem;
  font-size: 1.1rem;
}

.currency-count {
  color: #6c757d;
  font-size: 1.1rem;
}

/* Q&A List */
.qna-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.qna-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 16px;
  border-left: 4px solid #dee2e6;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 80px;
}

.qna-item:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

.qna-info {
  flex: 1;
}

.qna-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.qna-date {
  font-size: 1rem;
  color: #6c757d;
}

.qna-priority {
  padding: 0.5rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.qna-priority.high {
  background: #ff6b6b;
  color: white;
}

.qna-priority.medium {
  background: #feca57;
  color: #2c3e50;
}

.qna-priority.low {
  background: #48dbfb;
  color: white;
}

.qna-priority.file-attached {
  background: #4CAF50;
  color: white;
}

.qna-summary {
  margin-top: auto;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  border-top: 1px solid #e5e7eb;
}

/* Q&A 빈 상태 스타일 */
.qna-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem;
  text-align: center;
  min-height: 200px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.empty-subtitle {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* Chart Sections */
.chart-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.chart-section h4 {
  margin: 0 0 0.8rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.chart-container {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  width: 100%;
  min-height: 150px;
}

/* Chart Legend */
.chart-legend {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 1rem;
  overflow-x: auto;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: #2c3e50;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.legend-label {
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .admin-main {
    padding: 3rem 4rem;
  }
  
  .dashboard-grid {
    gap: 3rem;
  }
  
  .dashboard-card {
    min-height: 600px;
  }
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
  }
  
  .dashboard-grid.second-row {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  
  .admin-main {
    padding: 1.5rem;
  }
  
  .dashboard-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .admin-header {
    padding: 1rem;
  }
  
  .admin-title {
    font-size: 1.2rem;
  }
  
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1001;
    transform: translateX(-100%);
  }
  
  .admin-sidebar.collapsed {
    transform: translateX(0);
  }
  
  .admin-main {
    padding: 1rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .dashboard-grid.second-row {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item.wide {
    grid-column: span 1;
  }
  
  .card-header {
    padding: 1rem 1.5rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
}

/* Scrollbar Styling */
.admin-main::-webkit-scrollbar {
  width: 8px;
}

.admin-main::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.admin-main::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.admin-main::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
} 

/* 송금 통계 차트 섹션 스타일링 */
.dashboard-card:nth-child(1) .chart-section h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  padding: 0 1rem;
  text-align: center;
}

.dashboard-card:nth-child(1) .chart-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  width: 100%;
  min-height: 140px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
}

.dashboard-card:nth-child(1) .chart-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.dashboard-card:nth-child(1) .chart-container:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

/* 차트 내부 패딩 추가 */
.dashboard-card:nth-child(1) .chart-container .recharts-wrapper {
  padding: 0 1rem;
}

.dashboard-card:nth-child(1) .chart-container .recharts-surface {
  padding: 0 0.5rem;
}

/* 차트 스타일 개선 */
.dashboard-card:nth-child(1) .chart-container .recharts-cartesian-grid-horizontal line,
.dashboard-card:nth-child(1) .chart-container .recharts-cartesian-grid-vertical line {
  stroke: rgba(102, 126, 234, 0.1);
  stroke-width: 1;
}

.dashboard-card:nth-child(1) .chart-container .recharts-line-curve {
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.dashboard-card:nth-child(1) .chart-container .recharts-dot {
  fill: #667eea;
  stroke: white;
  stroke-width: 2;
  r: 4;
}

.dashboard-card:nth-child(1) .chart-container .recharts-dot:hover {
  r: 6;
  fill: #764ba2;
  transition: all 0.2s ease;
}

/* X축, Y축 스타일 */
.dashboard-card:nth-child(1) .chart-container .recharts-xAxis .recharts-cartesian-axis-tick-value,
.dashboard-card:nth-child(1) .chart-container .recharts-yAxis .recharts-cartesian-axis-tick-value {
  font-size: 0.75rem;
  font-weight: 500;
  fill: #6c757d;
}

.dashboard-card:nth-child(1) .chart-container .recharts-cartesian-axis-line {
  stroke: rgba(102, 126, 234, 0.2);
  stroke-width: 1;
}

/* 툴팁 스타일 */
.dashboard-card:nth-child(1) .chart-container .recharts-tooltip-wrapper {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

/* 한도 변경 신청 리스트 스타일 */
.limit-requests-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.limit-request-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 16px;
  border-left: 4px solid #dee2e6;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 80px;
}

.limit-request-item:hover {
  background: #e9ecef;
  transform: translateX(4px);
  border-left-color: #3b82f6;
}

.limit-request-info {
  flex: 1;
}

.limit-request-user {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.limit-request-limits {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.limit-request-date {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
}

.limit-request-status {
  text-align: center;
}

.pending-count-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.pending-count-button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pending-count-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 공지사항 TOP5 리스트 스타일 */
.top-notices-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.top-notice-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #e5e7eb;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.top-notice-item:hover {
  background: #e9ecef;
  transform: translateX(4px);
  border-left-color: #3b82f6;
}

.top-notice-rank {
  flex-shrink: 0;
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #6b7280;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.rank-number.top-rank {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.top-notice-info {
  flex: 1;
}

.top-notice-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.top-notice-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.top-notice-priority {
  flex-shrink: 0;
}

.top-notice-date {
  color: #6c757d;
  font-weight: 500;
}

.top-notice-views {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
  min-width: 60px;
  flex-shrink: 0;
}

.views-number {
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.views-label {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
}

/* 두 번째 로우 그리드 스타일 */
.dashboard-grid.second-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 반응형 디자인 - 두 번째 로우 */
@media (max-width: 1200px) {
  .dashboard-grid.second-row {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .dashboard-grid.second-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .limit-request-limits {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .top-notice-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* No Data Message Styles */
.no-data-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  min-height: 120px;
}

.no-data-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.no-data-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

.no-data-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.4;
} .admin-modal-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-modal-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-modal-input:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.admin-modal-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
  margin: 1.5rem 0;
}

.admin-modal-close-fancy {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.admin-modal-close-fancy:hover {
  background-color: #f3f4f6;
}

/* SweetAlert2 높은 z-index 설정 */
.swal2-popup-high-zindex {
  z-index: 10000 !important;
}

.swal2-container {
  z-index: 9999 !important;
}
/* Admin Layout Styles */

.admin-layout {
  display: flex;
  flex-direction: column;
  /* height: 100vh; */
  background: #f8fafc;
  overflow: hidden;
}

/* 애니메이션 키프레임 */
@keyframes slideDownMenu {
  from { 
    opacity: 0; 
    transform: translateY(-10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes slideUpMenu {
  from { 
    opacity: 1; 
    transform: translateY(0); 
  }
  to { 
    opacity: 0; 
    transform: translateY(-10px); 
    visibility: hidden;
  }
}

/* Admin Header */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 64px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  position: relative;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-toggle svg {
  transition: all 0.3s ease;
}

/* 데스크톱에서 사이드바 토글 버튼 스타일 */
@media (min-width: 769px) {
  .sidebar-toggle.close svg {
    transform: none;
  }
}

.admin-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-user {
  font-size: 14px;
  opacity: 0.9;
}

.admin-logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.admin-logout-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Container */
.admin-container {
  display: flex;
  flex: 1;
  /* height: calc(100vh - 64px); */
  /* overflow: hidden; */
}

/* Sidebar */
.admin-sidebar {
  width: 250px;
  /* height: 100%; */
  background: white;
  border-right: 1px solid #e5e7eb;
  transition: width 0.3s ease;
  overflow-y: auto;
  flex-shrink: 0;
  margin-bottom: 24px;
}

.admin-sidebar.collapsed {
  width: 60px;
}

.sidebar-nav {
  padding: 16px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.nav-item:hover {
  background: #f3f4f6;
  color: #374151;
}

.nav-item.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.nav-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-sidebar.collapsed .nav-text {
  display: none;
}

/* Main Content */
.admin-main {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  padding: 24px;
  background: #f8fafc;
  box-sizing: border-box;
}

/* Tab Content Styles */
.tab-content {
  /* height: 100%; */
  display: flex;
  flex-direction: column;
}

.tab-panel {
  flex: 1;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 32px 40px 28px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.panel-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.panel-header h2 {
  color: white;
  font-size: 25px;
  font-weight: 650;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.025em;
}

.panel-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin: 0;
  position: relative;
  z-index: 1;
  font-weight: 400;
  line-height: 1.6;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
  .panel-header {
    padding: 24px 20px 20px;
  }
  
  .panel-header h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .panel-header p {
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .panel-header {
    padding: 20px 16px 16px;
  }
  
  .panel-header h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  
  .panel-header p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* SearchForm 반응형 스타일 - 매우 강력한 방법 */
@media (max-width: 768px) {
  /* 모든 SearchForm 컨테이너 */
  div[style*="background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)"],
  div[style*="background: #f8fafc"],
  div[style*="background: '#f8fafc'"] {
    padding: 16px !important;
    margin-bottom: 16px !important;
  }
  
  /* 모든 flex 컨테이너를 세로로 */
  div[style*="display: flex"][style*="gap: 12px"],
  div[style*="display: flex"][style*="alignItems: center"],
  div[style*="display: flex"][style*="alignItems: end"] {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }
  
  /* 모든 고정 너비 div를 100%로 */
  div[style*="width: 180px"],
  div[style*="width: 150px"],
  div[style*="width: 120px"],
  div[style*="width: 200px"],
  div[style*="width: 140px"],
  div[style*="width: 160px"],
  div[style*="width: 250px"],
  div[style*="width: 280px"],
  div[style*="width: '180px'"],
  div[style*="width: '150px'"],
  div[style*="width: '120px'"],
  div[style*="width: '200px'"],
  div[style*="width: '140px'"],
  div[style*="width: '160px'"],
  div[style*="width: '250px'"],
  div[style*="width: '280px'"] {
    width: 100% !important;
    min-width: auto !important;
    flex: none !important;
  }
  
  /* 모든 input과 select */
  input[style*="padding: 14px 18px"],
  input[style*="padding: 12px 16px"],
  select[style*="padding: 14px 18px"],
  select[style*="padding: 12px 16px"] {
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* 모든 button */
  button[style*="padding: 14px 20px"],
  button[style*="padding: 14px 28px"],
  button[style*="padding: 12px 24px"] {
    padding: 12px 24px !important;
    font-size: 14px !important;
    width: 100% !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 480px) {
  /* 모든 SearchForm 컨테이너 */
  div[style*="background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)"],
  div[style*="background: #f8fafc"],
  div[style*="background: '#f8fafc'"] {
    padding: 12px !important;
    margin-bottom: 12px !important;
  }
  
  /* 모든 input과 select */
  input[style*="padding: 14px 18px"],
  input[style*="padding: 12px 16px"],
  select[style*="padding: 14px 18px"],
  select[style*="padding: 12px 16px"] {
    padding: 10px 14px !important;
    font-size: 13px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* 모든 button */
  button[style*="padding: 14px 20px"],
  button[style*="padding: 14px 28px"],
  button[style*="padding: 12px 24px"] {
    padding: 10px 20px !important;
    font-size: 13px !important;
    width: 100% !important;
    margin-top: 6px !important;
  }
}

.panel-content {
  flex: 1;
  padding: 32px 40px;
  background: white;
  overflow-y: auto;
  min-height: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-header {
    padding: 0 16px;
    height: 56px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
   
  .sidebar-toggle {
    font-size: 16px;
    padding: 6px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    order: 1;
  }
  
  .sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .admin-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    order: 2;
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .admin-user {
    font-size: 12px;
    opacity: 0.9;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .admin-logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
  }
  
  .admin-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .admin-logout-btn span {
    display: inline;
  }
  
  /* 모바일에서는 사이드바를 완전히 숨김 */
  .admin-sidebar {
    display: none !important;
  }
  
  .admin-main {
    padding: 16px;
    margin-left: 0;
    width: 100%;
    height: 100%;
  }
  
  .mobile-overlay {
    display: none !important;
  }
  
  /* Mobile Menu Styles */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    animation-fill-mode: forwards;
  }

  .mobile-menu.slide-down {
    animation: slideDownMenu 0.25s ease-out forwards;
    animation-fill-mode: forwards;
  }

  .mobile-menu.slide-up {
    animation: slideUpMenu 0.25s ease-out forwards;
    animation-fill-mode: forwards;
  }
  
  .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    font-weight: 500;
  }
  
  .mobile-nav-item:last-child {
    border-bottom: none;
  }
  
  .mobile-nav-item:hover {
    background: #f3f4f6;
    color: #374151;
  }
  
  .mobile-nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }
  
  .mobile-nav-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #6b7280;
  }
  
  .mobile-nav-item.active svg {
    color: white;
  }
  
  .mobile-nav-item span {
    font-weight: 500;
  }
}

@media (max-width: 480px) {
  .admin-header {
    padding: 0 12px;
    height: 52px;
  }
  
  .admin-title {
    font-size: 14px;
  }
  
  .admin-user {
    font-size: 12px;
  }
  
  .admin-logout-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  .mobile-nav-item {
    padding: 10px 6px;
    font-size: 13px;
  }
  
  .mobile-nav-item svg {
    width: 14px;
    height: 14px;
  }
} 

@media (max-width: 450px) {
  .container {
    padding: 0 0;
  }

  .admin-main{
    padding: 10px 0;
  }

  .mobile-admin-user{
    font-size: 0.75rem !important;
  }

  .admin-title{
    font-size: 0.9rem !important;
  }
  
  .card-content{
    padding: 10px 10px !important;
  }
  
  .currency-code{
    font-size: 1rem !important;
  }

  /* 모바일 로그아웃 버튼 - 텍스트 숨기고 아이콘만 표시 */
  .mobile-admin-logout-btn {
    padding: 6px !important;
    min-width: 50px !important;
    justify-content: center !important;
  }

  .mobile-admin-logout-btn span {
    display: none !important;
  }

  .mobile-admin-logout-btn svg {
    margin: 0 !important;
  }

  .panel-content{
    padding: 10px 0 !important;
  }

  /* SweetAlert2 모바일 스타일 */
  .swal2-title {
    font-size: 1.6rem !important;
  }

  .swal2-html-container {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 450px) { 
  .not-found-h1{
    font-size: 1.7rem !important;
  }

  .not-found-text{
    font-size: 0.9rem !important;
  }

  .not-found-button{
    font-size: 0.9rem !important;
  }
}/* Admin Remittance History Styles */

.admin-remittance-history {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Filter Section */
.filter-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Results Summary */
.results-summary {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.summary-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #6b7280;
}

.total-count {
  font-weight: 600;
  color: #374151;
}

.sort-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-info label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.sort-select {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sort-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-size-selector label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.page-size-select {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s;
}

.page-size-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Remittance List */
.remittance-list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.list-container {
  padding: 0;
}

/* 송금 이력 조회 전용 리스트 스타일 */
.history-remittance-list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.history-list-container {
  padding: 0;
}

/* 헤더 */
.list-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1.2fr 1fr 1fr 1fr 1fr 1.2fr 0.8fr;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 2px solid #e5e7eb;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.header-cell {
  padding: 8px 0;
}

/* 송금 이력 조회 전용 헤더 */
.history-list-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1.2fr 1fr 1fr 1fr 1fr 1.2fr 0.8fr;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 2px solid #e5e7eb;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.history-header-cell {
  padding: 8px 0;
}

/* 리스트 행 */
.list-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1.2fr 1fr 1fr 1fr 1fr 1.2fr 0.8fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
  align-items: center;
}

.list-row:hover {
  background-color: #f9fafb;
}

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

/* 송금 이력 조회 전용 리스트 행 */
.history-list-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1.2fr 1fr 1fr 1fr 1fr 1.2fr 0.8fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
  align-items: center;
}

.history-list-row:hover {
  background-color: #f9fafb;
}

.history-list-row:last-child {
  border-bottom: none;
}

.cell {
  font-size: 14px;
  color: #374151;
  padding: 8px 0;
}

.cell.amount {
  font-weight: 600;
  color: #059669;
}

.cell.sender {
  font-weight: 500;
}

.cell.recipient {
  font-weight: 500;
}

.cell.currency {
  font-weight: 500;
  color: #667eea;
}

.cell.sender-account,
.cell.receiver-account {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.cell.date {
  color: #6b7280;
  font-size: 13px;
}

/* 송금 이력 조회 전용 셀 */
.history-cell {
  font-size: 14px;
  color: #374151;
  padding: 8px 0;
}

.history-cell.amount {
  font-weight: 600;
  color: #059669;
}

.history-cell.sender {
  font-weight: 500;
}

.history-cell.recipient {
  font-weight: 500;
}

.history-cell.currency {
  font-weight: 500;
  color: #667eea;
}

.history-cell.sender-account,
.history-cell.receiver-account {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.history-cell.date {
  color: #6b7280;
  font-size: 13px;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.status-success {
  background: #dcfce7;
  color: #166534;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-failed {
  background: #fee2e2;
  color: #991b1b;
}

.status-default {
  background: #f3f4f6;
  color: #6b7280;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #6b7280;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-state p {
  margin: 0;
  font-size: 14px;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #6b7280;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.empty-state h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.page-btn {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
  min-width: 40px;
}

.page-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.page-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-remittance-history {
    gap: 16px;
    text-align: left;
  }
  
  .filter-section,
  .results-summary,
  .remittance-list {
    border-radius: 8px;
    padding: 16px;
    text-align: left;
  }
  
  .list-header,
  .list-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
  }
  
  .header-cell,
  .cell {
    padding: 4px 0;
  }
  
  .list-header {
    display: none;
  }
  
  .list-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    text-align: left;
    padding: 12px;
  }
  
  .cell {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 4px 0;
    gap: 8px;
    text-align: left;
    width: 100%;
  }
  
  .cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    font-size: 12px;
    min-width: 90px;
    flex-shrink: 0;
    text-align: left;
  }
  
  .cell.sender::before { content: "보내는 사람: "; }
  .cell.recipient::before { content: "받는 사람: "; }
  .cell.amount::before { content: "송금액: "; }
  .cell.currency::before { content: "수취통화: "; }
  .cell.sender-account::before { content: "보내는 계좌: "; }
  .cell.receiver-account::before { content: "받는 계좌: "; }
  .cell.sender-bank::before { content: "보내는 은행: "; }
  .cell.receiver-bank::before { content: "받는 은행: "; }
  .cell.date::before { content: "송금일: "; }
  .cell.status::before { content: "상태: "; }
  
  /* 송금 이력 조회 전용 반응형 스타일 */
  .history-list-header,
  .history-list-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
  }
  
  .history-header-cell,
  .history-cell {
    padding: 4px 0;
  }
  
  .history-list-header {
    display: none;
  }
  
  .history-list-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    text-align: left;
    padding: 12px;
  }
  
  .history-cell {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 4px 0;
    gap: 8px;
    text-align: left;
    width: 100%;
  }
  
  .history-cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    font-size: 12px;
    min-width: 90px;
    flex-shrink: 0;
    text-align: left;
  }
  
  .history-cell.sender::before { content: "보내는 사람: "; }
  .history-cell.recipient::before { content: "받는 사람: "; }
  .history-cell.amount::before { content: "송금액: "; }
  .history-cell.currency::before { content: "수취통화: "; }
  .history-cell.sender-account::before { content: "보내는 계좌: "; }
  .history-cell.receiver-account::before { content: "받는 계좌: "; }
  .history-cell.sender-bank::before { content: "보내는 은행: "; }
  .history-cell.receiver-bank::before { content: "받는 은행: "; }
  .history-cell.date::before { content: "송금일: "; }
  .history-cell.status::before { content: "상태: "; }
  
  .results-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
  
  .summary-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }
  
  .page-size-selector {
    align-self: flex-start;
  }
  
  .pagination {
    gap: 4px;
  }
  
  .page-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 36px;
  }
} .react-calendar {
  width: 350px;
  max-width: 100%;
  background: white;
  border: 1px solid #a0a096;
  font-family: 'Arial', 'Helvetica', sans-serif;
  line-height: 1.125em;
}

.react-calendar--doubleView {
  width: 700px;
}

.react-calendar--doubleView .react-calendar__viewContainer {
  display: flex;
  margin: -0.5em;
}

.react-calendar--doubleView .react-calendar__viewContainer > * {
  width: 50%;
  margin: 0.5em;
}

.react-calendar,
.react-calendar *,
.react-calendar *:before,
.react-calendar *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.react-calendar button {
  margin: 0;
  border: 0;
  outline: none;
}

.react-calendar button:enabled:hover {
  cursor: pointer;
}

.react-calendar__navigation {
  display: flex;
  height: 44px;
  margin-bottom: 1em;
}

.react-calendar__navigation button {
  min-width: 44px;
  background: none;
}

.react-calendar__navigation button:disabled {
  background-color: #f0f0f0;
}

.react-calendar__navigation button:enabled:hover,
.react-calendar__navigation button:enabled:focus {
  background-color: #e6e6e6;
}

.react-calendar__month-view__weekdays {
  text-align: center;
  text-transform: uppercase;
  font: inherit;
  font-size: 0.75em;
  font-weight: bold;
}

.react-calendar__month-view__weekdays__weekday {
  padding: 0.5em;
}

.react-calendar__month-view__weekNumbers .react-calendar__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.75em;
  font-weight: bold;
}

.react-calendar__month-view__days__day--weekend {
  color: #d10000;
}

.react-calendar__month-view__days__day--neighboringMonth,
.react-calendar__decade-view__years__year--neighboringDecade,
.react-calendar__century-view__decades__decade--neighboringCentury {
  color: #757575;
}

.react-calendar__year-view .react-calendar__tile,
.react-calendar__decade-view .react-calendar__tile,
.react-calendar__century-view .react-calendar__tile {
  padding: 2em 0.5em;
}

.react-calendar__tile {
  max-width: 100%;
  padding: 10px 6.6667px;
  background: none;
  text-align: center;
  font: inherit;
  font-size: 0.833em;
}

.react-calendar__tile:disabled {
  background-color: #f0f0f0;
  color: #ababab;
}

.react-calendar__month-view__days__day--neighboringMonth:disabled,
.react-calendar__decade-view__years__year--neighboringDecade:disabled,
.react-calendar__century-view__decades__decade--neighboringCentury:disabled {
  color: #cdcdcd;
}

.react-calendar__tile:enabled:hover,
.react-calendar__tile:enabled:focus {
  background-color: #e6e6e6;
}

.react-calendar__tile--now {
  background: #ffff76;
}

.react-calendar__tile--now:enabled:hover,
.react-calendar__tile--now:enabled:focus {
  background: #ffffa9;
}

.react-calendar__tile--hasActive {
  background: #76baff;
}

.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
  background: #a9d4ff;
}

.react-calendar__tile--active {
  background: #006edc;
  color: white;
}

.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
  background: #1087ff;
}

.react-calendar--selectRange .react-calendar__tile--hover {
  background-color: #e6e6e6;
}

.react-datepicker__navigation-icon::before, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  border-color: #ccc;
  border-style: solid;
  border-width: 3px 3px 0 0;
  content: "";
  display: block;
  height: 9px;
  position: absolute;
  top: 6px;
  width: 9px;
}
.react-datepicker-wrapper {
  display: inline-block;
  padding: 0;
  border: 0;
}

.react-datepicker {
  font-family: "Helvetica Neue", helvetica, arial, sans-serif;
  font-size: 0.8rem;
  background-color: #fff;
  color: #000;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  display: inline-block;
  position: relative;
  line-height: initial;
}

.react-datepicker--time-only .react-datepicker__time-container {
  border-left: 0;
}
.react-datepicker--time-only .react-datepicker__time,
.react-datepicker--time-only .react-datepicker__time-box {
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.react-datepicker-popper {
  z-index: 1;
  line-height: 0;
}
.react-datepicker-popper .react-datepicker__triangle {
  stroke: #aeaeae;
}
.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
  fill: #f0f0f0;
  color: #f0f0f0;
}
.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
  fill: #fff;
  color: #fff;
}

.react-datepicker__header {
  text-align: center;
  background-color: #f0f0f0;
  border-bottom: 1px solid #aeaeae;
  border-top-left-radius: 0.3rem;
  padding: 8px 0;
  position: relative;
}
.react-datepicker__header--time {
  padding-bottom: 8px;
  padding-left: 5px;
  padding-right: 5px;
}
.react-datepicker__header--time:not(.react-datepicker__header--time--only) {
  border-top-left-radius: 0;
}
.react-datepicker__header:not(.react-datepicker__header--has-time-select) {
  border-top-right-radius: 0.3rem;
}

.react-datepicker__year-dropdown-container--select,
.react-datepicker__month-dropdown-container--select,
.react-datepicker__month-year-dropdown-container--select,
.react-datepicker__year-dropdown-container--scroll,
.react-datepicker__month-dropdown-container--scroll,
.react-datepicker__month-year-dropdown-container--scroll {
  display: inline-block;
  margin: 0 15px;
}

.react-datepicker__current-month,
.react-datepicker-time__header,
.react-datepicker-year-header {
  margin-top: 0;
  color: #000;
  font-weight: bold;
  font-size: 0.944rem;
}

h2.react-datepicker__current-month {
  padding: 0;
  margin: 0;
}

.react-datepicker-time__header {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.react-datepicker__navigation {
  align-items: center;
  background: none;
  display: flex;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  position: absolute;
  top: 2px;
  padding: 0;
  border: none;
  z-index: 1;
  height: 32px;
  width: 32px;
  text-indent: -999em;
  overflow: hidden;
}
.react-datepicker__navigation--previous {
  left: 2px;
}
.react-datepicker__navigation--next {
  right: 2px;
}
.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
  right: 85px;
}
.react-datepicker__navigation--years {
  position: relative;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__navigation--years-previous {
  top: 4px;
}
.react-datepicker__navigation--years-upcoming {
  top: -4px;
}
.react-datepicker__navigation:hover *::before {
  border-color: rgb(165.75, 165.75, 165.75);
}

.react-datepicker__navigation-icon {
  position: relative;
  top: -1px;
  font-size: 20px;
  width: 0;
}
.react-datepicker__navigation-icon--next {
  left: -2px;
}
.react-datepicker__navigation-icon--next::before {
  transform: rotate(45deg);
  left: -7px;
}
.react-datepicker__navigation-icon--previous {
  right: -2px;
}
.react-datepicker__navigation-icon--previous::before {
  transform: rotate(225deg);
  right: -7px;
}

.react-datepicker__month-container {
  float: left;
}

.react-datepicker__year {
  margin: 0.4rem;
  text-align: center;
}
.react-datepicker__year-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 180px;
}
.react-datepicker__year .react-datepicker__year-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__month {
  margin: 0.4rem;
  text-align: center;
}
.react-datepicker__month .react-datepicker__month-text,
.react-datepicker__month .react-datepicker__quarter-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__input-time-container {
  clear: both;
  width: 100%;
  float: left;
  margin: 5px 0 10px 15px;
  text-align: left;
}
.react-datepicker__input-time-container .react-datepicker-time__caption {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {
  display: inline-block;
  margin-left: 10px;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {
  width: auto;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {
  -moz-appearance: textfield;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {
  margin-left: 5px;
  display: inline-block;
}

.react-datepicker__time-container {
  float: right;
  border-left: 1px solid #aeaeae;
  width: 85px;
}
.react-datepicker__time-container--with-today-button {
  display: inline;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  position: absolute;
  right: -87px;
  top: 0;
}
.react-datepicker__time-container .react-datepicker__time {
  position: relative;
  background: white;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
  width: 85px;
  overflow-x: hidden;
  margin: 0 auto;
  text-align: center;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
  list-style: none;
  margin: 0;
  height: calc(195px + 1.7rem / 2);
  overflow-y: scroll;
  padding-right: 0;
  padding-left: 0;
  width: 100%;
  box-sizing: content-box;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {
  height: 30px;
  padding: 5px 10px;
  white-space: nowrap;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {
  background-color: #216ba5;
  color: white;
  font-weight: bold;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {
  background-color: #216ba5;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {
  color: #ccc;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {
  cursor: default;
  background-color: transparent;
}

.react-datepicker__week-number {
  color: #ccc;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable {
  cursor: pointer;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__week-number--selected {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__week-number--selected:hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}

.react-datepicker__day-names {
  white-space: nowrap;
  margin-bottom: -8px;
}

.react-datepicker__week {
  white-space: nowrap;
}

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  color: #000;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}

.react-datepicker__day,
.react-datepicker__month-text,
.react-datepicker__quarter-text,
.react-datepicker__year-text {
  cursor: pointer;
}
.react-datepicker__day:not([aria-disabled=true]):hover,
.react-datepicker__month-text:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text:not([aria-disabled=true]):hover,
.react-datepicker__year-text:not([aria-disabled=true]):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__day--today,
.react-datepicker__month-text--today,
.react-datepicker__quarter-text--today,
.react-datepicker__year-text--today {
  font-weight: bold;
}
.react-datepicker__day--highlighted,
.react-datepicker__month-text--highlighted,
.react-datepicker__quarter-text--highlighted,
.react-datepicker__year-text--highlighted {
  border-radius: 0.3rem;
  background-color: #3dcc4a;
  color: #fff;
}
.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {
  background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);
}
.react-datepicker__day--highlighted-custom-1,
.react-datepicker__month-text--highlighted-custom-1,
.react-datepicker__quarter-text--highlighted-custom-1,
.react-datepicker__year-text--highlighted-custom-1 {
  color: magenta;
}
.react-datepicker__day--highlighted-custom-2,
.react-datepicker__month-text--highlighted-custom-2,
.react-datepicker__quarter-text--highlighted-custom-2,
.react-datepicker__year-text--highlighted-custom-2 {
  color: green;
}
.react-datepicker__day--holidays,
.react-datepicker__month-text--holidays,
.react-datepicker__quarter-text--holidays,
.react-datepicker__year-text--holidays {
  position: relative;
  border-radius: 0.3rem;
  background-color: #ff6803;
  color: #fff;
}
.react-datepicker__day--holidays .overlay,
.react-datepicker__month-text--holidays .overlay,
.react-datepicker__quarter-text--holidays .overlay,
.react-datepicker__year-text--holidays .overlay {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}
.react-datepicker__day--holidays:not([aria-disabled=true]):hover,
.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {
  background-color: rgb(207, 82.9642857143, 0);
}
.react-datepicker__day--holidays:hover .overlay,
.react-datepicker__month-text--holidays:hover .overlay,
.react-datepicker__quarter-text--holidays:hover .overlay,
.react-datepicker__year-text--holidays:hover .overlay {
  visibility: visible;
  opacity: 1;
}
.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,
.react-datepicker__month-text--selected,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--selected,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--selected,
.react-datepicker__year-text--in-selecting-range,
.react-datepicker__year-text--in-range {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}
.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected,
.react-datepicker__year-text--keyboard-selected {
  border-radius: 0.3rem;
  background-color: rgb(186.25, 217.0833333333, 241.25);
  color: rgb(0, 0, 0);
}
.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}
.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range) {
  background-color: rgba(33, 107, 165, 0.5);
}
.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range) {
  background-color: #f0f0f0;
  color: #000;
}
.react-datepicker__day--disabled,
.react-datepicker__month-text--disabled,
.react-datepicker__quarter-text--disabled,
.react-datepicker__year-text--disabled {
  cursor: default;
  color: #ccc;
}
.react-datepicker__day--disabled .overlay,
.react-datepicker__month-text--disabled .overlay,
.react-datepicker__quarter-text--disabled .overlay,
.react-datepicker__year-text--disabled .overlay {
  position: absolute;
  bottom: 70%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}

.react-datepicker__input-container {
  position: relative;
  display: inline-block;
  width: 100%;
}
.react-datepicker__input-container .react-datepicker__calendar-icon {
  position: absolute;
  padding: 0.5rem;
  box-sizing: content-box;
}

.react-datepicker__view-calendar-icon input {
  padding: 6px 10px 5px 25px;
}

.react-datepicker__year-read-view,
.react-datepicker__month-read-view,
.react-datepicker__month-year-read-view {
  border: 1px solid transparent;
  border-radius: 0.3rem;
  position: relative;
}
.react-datepicker__year-read-view:hover,
.react-datepicker__month-read-view:hover,
.react-datepicker__month-year-read-view:hover {
  cursor: pointer;
}
.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {
  border-top-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  transform: rotate(135deg);
  right: -16px;
  top: 0;
}

.react-datepicker__year-dropdown,
.react-datepicker__month-dropdown,
.react-datepicker__month-year-dropdown {
  background-color: #f0f0f0;
  position: absolute;
  width: 50%;
  left: 25%;
  top: 30px;
  z-index: 1;
  text-align: center;
  border-radius: 0.3rem;
  border: 1px solid #aeaeae;
}
.react-datepicker__year-dropdown:hover,
.react-datepicker__month-dropdown:hover,
.react-datepicker__month-year-dropdown:hover {
  cursor: pointer;
}
.react-datepicker__year-dropdown--scrollable,
.react-datepicker__month-dropdown--scrollable,
.react-datepicker__month-year-dropdown--scrollable {
  height: 150px;
  overflow-y: scroll;
}

.react-datepicker__year-option,
.react-datepicker__month-option,
.react-datepicker__month-year-option {
  line-height: 20px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__year-option:first-of-type,
.react-datepicker__month-option:first-of-type,
.react-datepicker__month-year-option:first-of-type {
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}
.react-datepicker__year-option:last-of-type,
.react-datepicker__month-option:last-of-type,
.react-datepicker__month-year-option:last-of-type {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__year-option:hover,
.react-datepicker__month-option:hover,
.react-datepicker__month-year-option:hover {
  background-color: #ccc;
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {
  border-bottom-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {
  border-top-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-option--selected,
.react-datepicker__month-option--selected,
.react-datepicker__month-year-option--selected {
  position: absolute;
  left: 15px;
}

.react-datepicker__close-icon {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: 0;
  padding: 0 6px 0 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}
.react-datepicker__close-icon::after {
  cursor: pointer;
  background-color: #216ba5;
  color: #fff;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  padding: 2px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  content: "×";
}
.react-datepicker__close-icon--disabled {
  cursor: default;
}
.react-datepicker__close-icon--disabled::after {
  cursor: default;
  background-color: #ccc;
}

.react-datepicker__today-button {
  background: #f0f0f0;
  border-top: 1px solid #aeaeae;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
  clear: left;
}

.react-datepicker__portal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 2147483647;
}
.react-datepicker__portal .react-datepicker__day-name,
.react-datepicker__portal .react-datepicker__day,
.react-datepicker__portal .react-datepicker__time-name {
  width: 3rem;
  line-height: 3rem;
}
@media (max-width: 400px), (max-height: 550px) {
  .react-datepicker__portal .react-datepicker__day-name,
  .react-datepicker__portal .react-datepicker__day,
  .react-datepicker__portal .react-datepicker__time-name {
    width: 2rem;
    line-height: 2rem;
  }
}
.react-datepicker__portal .react-datepicker__current-month,
.react-datepicker__portal .react-datepicker-time__header {
  font-size: 1.44rem;
}

.react-datepicker__children-container {
  width: 13.8rem;
  margin: 0.4rem;
  padding-right: 0.2rem;
  padding-left: 0.2rem;
  height: auto;
}

.react-datepicker__aria-live {
  position: absolute;
  clip-path: circle(0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  width: 1px;
  white-space: nowrap;
}

.react-datepicker__calendar-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}
/* Custom Calendar Styling */
.react-calendar {
  width: 320px;
  max-width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.125em;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.react-calendar:hover {
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.react-calendar--doubleView {
  width: 700px;
}

.react-calendar--doubleView .react-calendar__viewContainer {
  display: flex;
  margin: -0.5em;
}

.react-calendar--doubleView .react-calendar__viewContainer > * {
  width: 50%;
  margin: 0.5em;
}

.react-calendar,
.react-calendar *,
.react-calendar *:before,
.react-calendar *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.react-calendar button {
  margin: 0;
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.react-calendar button:enabled:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.react-calendar button:enabled:active {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: scale(0.98);
}

.react-calendar__navigation {
  display: flex;
  height: 44px;
  margin-bottom: 1em;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  border-bottom: 1px solid #3b82f6;
  border-radius: 8px 8px 0 0;
}

.react-calendar__navigation button {
  min-width: 44px;
  background: none;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  margin: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.react-calendar__navigation button:disabled {
  background: none;
  color: #cbd5e1;
}

.react-calendar__navigation button:enabled:hover,
.react-calendar__navigation button:enabled:focus {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.react-calendar__month-view__weekdays {
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.5em;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 8px;
  padding: 0.5em 0;
  border-bottom: none !important;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-image: none !important;
  border-style: none !important;
}

.react-calendar__month-view__weekdays::after,
.react-calendar__month-view__weekdays::before {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
  border-image: none !important;
  border-style: none !important;
}

/* 모든 하위 요소의 테두리 제거 */
.react-calendar__month-view__weekdays * {
  border: none !important;
  border-bottom: none !important;
  border-image: none !important;
  border-style: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.react-calendar__month-view__weekdays__weekday {
  padding: 0.5em;
  display: inline-block;
  width: 14.2857%;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  border-bottom: none !important;
  border: none !important;
  outline: none !important;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border-image: none !important;
  border-style: none !important;
}

.react-calendar__month-view__weekdays__weekday::after,
.react-calendar__month-view__weekdays__weekday::before {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
  border-image: none !important;
  border-style: none !important;
}

.react-calendar__month-view__weekNumbers .react-calendar__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: bold;
  color: #94a3b8;
}

.react-calendar__month-view__days__day--weekend {
  color: #ef4444;
}

.react-calendar__month-view__days__day--neighboringMonth {
  color: #cbd5e1;
}

.react-calendar__year-view .react-calendar__tile,
.react-calendar__decade-view .react-calendar__tile,
.react-calendar__century-view .react-calendar__tile {
  padding: 1.5em 0.5em;
  border-radius: 12px;
  margin: 2px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  color: #1e293b;
  font-weight: 500;
  outline: none !important;
  border-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.react-calendar__year-view .react-calendar__tile:hover,
.react-calendar__decade-view .react-calendar__tile:hover,
.react-calendar__century-view .react-calendar__tile:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  font-weight: 600;
  outline: none !important;
  border-image: none !important;
}

/* 선택된 연도/월 강조 표시 */
.react-calendar__year-view .react-calendar__tile--active,
.react-calendar__decade-view .react-calendar__tile--active,
.react-calendar__century-view .react-calendar__tile--active {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: white;
  font-weight: 700;
  border: 2px solid #059669;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    0 0 0 2px rgba(16, 185, 129, 0.1);
  transform: scale(1.05);
  outline: none !important;
  border-image: none !important;
}

.react-calendar__year-view .react-calendar__tile--active:hover,
.react-calendar__decade-view .react-calendar__tile--active:hover,
.react-calendar__century-view .react-calendar__tile--active:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  transform: scale(1.1);
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.5),
    0 0 0 2px rgba(16, 185, 129, 0.2);
  outline: none !important;
  border-image: none !important;
}

/* 현재 선택된 날짜의 연도/월 강조 표시 */
.react-calendar__year-view .react-calendar__tile--hasActive,
.react-calendar__decade-view .react-calendar__tile--hasActive,
.react-calendar__century-view .react-calendar__tile--hasActive {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
  color: white !important;
  font-weight: 700 !important;
  border: 2px solid #059669 !important;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    0 0 0 2px rgba(16, 185, 129, 0.1) !important;
  transform: scale(1.05) !important;
  outline: none !important;
}

.react-calendar__year-view .react-calendar__tile--hasActive:hover,
.react-calendar__decade-view .react-calendar__tile--hasActive:hover,
.react-calendar__century-view .react-calendar__tile--hasActive:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: white !important;
  transform: scale(1.1) !important;
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.5),
    0 0 0 2px rgba(16, 185, 129, 0.2) !important;
  outline: none !important;
}

/* 월 표시 스타일 */
.react-calendar__month-view .react-calendar__tile {
  color: #1e293b;
  font-weight: 500;
}

.react-calendar__month-view .react-calendar__tile:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  font-weight: 600;
}

/* 선택된 월 강조 표시 */
.react-calendar__month-view .react-calendar__tile--active {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
  color: white !important;
  font-weight: 700 !important;
  border: 2px solid #059669 !important;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    0 0 0 2px rgba(16, 185, 129, 0.1) !important;
  transform: scale(1.05) !important;
}

.react-calendar__month-view .react-calendar__tile--active:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: white !important;
  transform: scale(1.1) !important;
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.5),
    0 0 0 2px rgba(16, 185, 129, 0.2) !important;
}

/* 현재 선택된 날짜의 월 강조 표시 */
.react-calendar__month-view .react-calendar__tile--hasActive {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
  color: white !important;
  font-weight: 700 !important;
  border: 2px solid #059669 !important;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    0 0 0 2px rgba(16, 185, 129, 0.1) !important;
  transform: scale(1.05) !important;
}

.react-calendar__month-view .react-calendar__tile--hasActive:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: white !important;
  transform: scale(1.1) !important;
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.5),
    0 0 0 2px rgba(16, 185, 129, 0.2) !important;
}

.react-calendar__tile {
  max-width: 100%;
  padding: 0.75em 0.5em;
  background: none;
  text-align: center;
  line-height: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  border-radius: 8px;
  margin: 1px;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 14.2857%;
  height: 44px;
}

.react-calendar__tile:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.react-calendar__tile:hover:before {
  opacity: 0;
}

.react-calendar__tile:enabled:hover,
.react-calendar__tile:enabled:focus {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  font-weight: 600;
}

.react-calendar__tile--now {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  font-weight: 700;
  border: 2px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
  position: relative;
}

.react-calendar__tile--now:before {
  content: '오늘';
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
  z-index: 1;
}

.react-calendar__tile--now:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  color: #92400e;
  border-color: #f59e0b;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.react-calendar__tile--hasActive {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: white;
}

.react-calendar__tile--active {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
  color: white !important;
  font-weight: 700 !important;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    0 0 0 2px rgba(16, 185, 129, 0.1) !important;
  transform: scale(1.05) !important;
  border-radius: 8px !important;
  border: 2px solid #059669 !important;
  font-size: 0.75rem !important;
}

.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: white !important;
  transform: scale(1.1) !important;
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.5),
    0 0 0 2px rgba(16, 185, 129, 0.2) !important;
}

.react-calendar--selectRange .react-calendar__tile--hover {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
}

.react-calendar__tile--rangeStart {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  border-radius: 8px 0 0 8px;
}

.react-calendar__tile--rangeEnd {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  border-radius: 0 8px 8px 0;
}

.react-calendar__tile--rangeBetween {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border-radius: 0;
}

/* Custom scrollbar for month/year navigation */
.react-calendar__navigation__label {
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  border-radius: 8px;
  padding: 0.5em 0.75em;
  margin: 0 4px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
  border: none;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.react-calendar__navigation__label:hover {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: white;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
  .react-calendar {
    width: 280px;
    font-size: 0.875rem;
  }
  
  .react-calendar__tile {
    padding: 0.5em 0.25em;
    font-size: 0.75rem;
    min-height: 36px;
    height: 36px;
  }
  
  .react-calendar__year-view .react-calendar__tile,
  .react-calendar__decade-view .react-calendar__tile,
  .react-calendar__century-view .react-calendar__tile {
    font-size: 0.75rem;
    padding: 1em 0.25em;
  }
  
  .react-calendar__navigation {
    height: 36px;
  }
  
  .react-calendar__navigation button {
    min-width: 36px;
    font-size: 0.75rem;
  }
  
  .react-calendar__navigation__label {
    font-size: 0.875rem;
    padding: 0.25em 0.75em;
  }
}

/* Animation for calendar appearance */
@keyframes calendarFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.react-calendar {
  animation: calendarFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus styles for accessibility */
.react-calendar button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Disabled state styling */
.react-calendar__tile:disabled {
  background: #f1f5f9;
  color: #cbd5e1;
  cursor: not-allowed;
}

.react-calendar__tile:disabled:hover {
  background: #f1f5f9;
  color: #cbd5e1;
  transform: none;
  box-shadow: none;
} /* Custom Datepicker Styles */
.react-datepicker-wrapper {
  width: 100%;
}

.react-datepicker__input-container {
  width: 100%;
}

.react-datepicker__input-container input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #374151;
  background-color: #ffffff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.react-datepicker__input-container input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.react-datepicker__input-container input:hover {
  border-color: #9ca3af;
}

/* Datepicker Popup Styles */
.react-datepicker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

.react-datepicker__header {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  padding: 0.75rem;
}

.react-datepicker__current-month {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.react-datepicker__day-names {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.react-datepicker__day-name {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}

.react-datepicker__month {
  padding: 0.5rem;
}

.react-datepicker__week {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.125rem;
}

.react-datepicker__day {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #374151;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.react-datepicker__day:hover {
  background-color: #f3f4f6;
}

.react-datepicker__day--selected {
  background-color: #3b82f6;
  color: #ffffff;
}

.react-datepicker__day--selected:hover {
  background-color: #2563eb;
}

.react-datepicker__day--keyboard-selected {
  background-color: #dbeafe;
  color: #1e40af;
}

.react-datepicker__day--disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

.react-datepicker__day--outside-month {
  color: #9ca3af;
}

/* Navigation Buttons */
.react-datepicker__navigation {
  position: absolute;
  top: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out;
}

.react-datepicker__navigation:hover {
  background-color: #f3f4f6;
}

.react-datepicker__navigation--previous {
  left: 0.75rem;
}

.react-datepicker__navigation--next {
  right: 0.75rem;
}

.react-datepicker__navigation-icon {
  width: 0.5rem;
  height: 0.5rem;
  border: 2px solid #6b7280;
  border-top: none;
  border-right: none;
}

.react-datepicker__navigation--previous .react-datepicker__navigation-icon {
  transform: rotate(-45deg);
  margin-left: 0.25rem;
}

.react-datepicker__navigation--next .react-datepicker__navigation-icon {
  transform: rotate(135deg);
  margin-right: 0.25rem;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .react-datepicker {
    font-size: 0.875rem;
  }
  
  .react-datepicker__day {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
  
  .react-datepicker__day-name {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.625rem;
  }
  
  .react-datepicker__navigation {
    width: 1.75rem;
    height: 1.75rem;
  }
} /* Admin Table Styles */
.admin-table {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Unified Header Styles */
.unified-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 2px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  gap: 24px;
  min-height: 80px;
  margin-bottom: 20px;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2;
}

.header-right {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

/* Limit Display Styles */
.limit-display {
  display: flex;
  gap: 32px;
  align-items: center;
  background: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
}

.limit-display .limit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  position: relative;
}

.limit-display .limit-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #e5e7eb, transparent);
}

.limit-display .limit-label {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 500;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.limit-display .limit-value {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Default Limit Info Styles */
.default-limit-info {
  padding: 20px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.limit-card {
  display: flex;
  gap: 32px;
  justify-content: space-around;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.limit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.limit-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.limit-value {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

/* Search Section Styles */
.search-section {
  padding: 20px 24px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.search-container {
  max-width: 100%;
}

.search-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-input-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 16px;
  flex: 1;
  min-width: 300px;
  transition: border-color 0.2s;
}

.search-input:focus-within {
  border-color: #3b82f6;
}

.search-icon {
  color: #9ca3af;
  margin-right: 12px;
  font-size: 16px;
}

.search-input input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 0;
  font-size: 14px;
  background: transparent;
}

.search-input input::placeholder {
  color: #9ca3af;
}

.search-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-left: 12px;
}

.search-btn:hover {
  background: #2563eb;
}

.filter-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.status-filter {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s;
  min-width: 150px;
}

.status-filter:focus {
  outline: none;
  border-color: #3b82f6;
}

/* Unified Header Search Styles */
.unified-header .search-input {
  position: relative;
  min-width: 240px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.unified-header .search-input:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.unified-header .search-input input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  color: #1e293b;
}

.unified-header .search-input input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.unified-header .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  z-index: 1;
  transition: color 0.3s ease;
}

.unified-header .search-input:focus-within .search-icon {
  color: #3b82f6;
}

.unified-header .search-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 0;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}

.unified-header .search-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

.unified-header .status-filter {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
  color: #1e293b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.unified-header .status-filter:focus {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.unified-header .status-filter:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Results Summary Styles */
.results-summary {
  padding: 16px 24px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px 8px 0 0;
}

.summary-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.total-count {
  font-weight: 600;
  color: #374151;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-size-selector label {
  font-size: 14px;
  color: #6b7280;
}

.page-size-select {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  font-size: 14px;
}

.sort-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-info label {
  font-size: 14px;
  color: #6b7280;
}

.sort-select {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  font-size: 14px;
}

/* Table Container Styles */
.table-container {
  overflow-x: auto;
}

.table-list-container {
  overflow-x: auto;
  width: 100%;
  min-width: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  /* 스크롤 영역에서 행 배경색이 제대로 적용되도록 설정 */
  position: relative;
}

/* 스크롤 영역의 배경색을 테이블과 동일하게 설정 */
.table-list-container::-webkit-scrollbar {
  height: 8px;
}

.table-list-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.table-list-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.table-list-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #6b7280;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #6b7280;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

/* Table List Styles */
.table-list-container {
  background: white;
}

.table-list-header {
  display: flex;
  background: #f9fafb !important;
  border-bottom: 2px solid #e5e7eb !important;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
  width: 100%;
  min-width: max-content;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* 스크롤 영역에서도 헤더 배경색과 테두리가 제대로 적용되도록 강제 */
.table-list-container .table-list-header {
  background: #f9fafb !important;
  border-bottom: 2px solid #e5e7eb !important;
}

.table-list-container .table-list-header .table-header-cell {
  background: #f9fafb !important;
  border-right: 1px solid #e5e7eb !important;
}

/* 더 구체적인 선택자로 스크롤 영역 강제 적용 */
.admin-table .table-list-container .table-list-header {
  background: #f9fafb !important;
  border-bottom: 2px solid #e5e7eb !important;
}

.admin-table .table-list-container .table-list-header .table-header-cell {
  background: #f9fafb !important;
  border-right: 1px solid #e5e7eb !important;
}

.table-header-cell {
  padding: 16px 12px;
  text-align: left;
  border-right: 1px solid #e5e7eb !important;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  flex: none !important;
  width: auto;
  min-width: auto;
  max-width: none;
  background: inherit !important;
}

.table-header-cell:last-child {
  border-right: none !important;
}

.table-list-row {
  display: flex;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
  width: 100%;
  min-width: max-content;
  background: white;
}

.table-list-row:hover {
  background: #f9fafb !important;
}

.table-list-row:nth-child(odd) {
  background: white !important;
}

.table-list-row:nth-child(even) {
  background: #fafafa !important;
}

.table-list-row:nth-child(odd):hover {
  background: #f9fafb !important;
}

.table-list-row:nth-child(even):hover {
  background: #f0f0f0 !important;
}

.table-cell {
  padding: 16px 12px;
  text-align: left;
  border-right: 1px solid #f3f4f6;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  flex: none !important;
  width: auto;
  min-width: auto;
  max-width: none;
  /* 스크롤 영역에서도 행 배경색이 제대로 적용되도록 설정 */
  background: inherit;
}

.table-cell:last-child {
  border-right: none !important;
}

/* Status Badge Styles */
.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  display: inline-block;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-approved {
  background: #d1fae5;
  color: #065f46;
}

.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status-success {
  background: #d1fae5;
  color: #065f46;
}

.status-failed {
  background: #fee2e2;
  color: #991b1b;
}

.status-default {
  background: #f3f4f6;
  color: #374151;
}

/* Button Styles */
.btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background: #4b5563;
}

.btn-success {
  background: #10b981;
  color: white;
}

.btn-success:hover {
  background: #059669;
}

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

.btn-danger:hover {
  background: #dc2626;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.page-btn {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.page-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.page-btn:disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 8px 12px;
  color: #6b7280;
  font-size: 14px;
  user-select: none;
}

/* Reason Cell Styles */
.reason-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
  }
  
  .unified-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    min-height: auto;
  }
  

  
  .limit-display {
    flex-direction: column;
    gap: 16px;
    padding: 12px;
  }
  
  .limit-display .limit-item {
    min-width: auto;
    width: 100%;
  }
  
  .limit-display .limit-item:not(:last-child)::after {
    display: none;
  }
  
  .limit-card {
    flex-direction: column;
    gap: 16px;
  }
  
  .search-input-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .search-input {
    min-width: auto;
    width: 100%;
  }
  
  .results-summary {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: visible;
    padding: 12px 15px;
  }
  
  .summary-info {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    flex-wrap: nowrap;
    flex-shrink: 0;
    width: 100%;
  }
  
  .total-count {
    text-align: right;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
  }
  
  .page-size-selector,
  .sort-info {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: auto;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  .page-size-selector label,
  .sort-info label {
    min-width: 40px;
    flex-shrink: 0;
    font-size: 14px;
    color: #6b7280;
  }
  
  .page-size-select,
  .sort-select {
    flex: 1;
    min-width: 120px;
    max-width: none;
    flex-shrink: 0;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 14px;
  }
  
  .table-list-container {
  overflow-x: auto;
  width: 100%;
}

.table-list-header {
  display: flex;
  background: #f9fafb !important;
  border-bottom: 1px solid #e5e7eb !important;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
  width: 100%;
  min-width: max-content;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* JavaScript에서 모든 스타일을 처리하므로 반응형 CSS 제거 */

.table-header-cell {
  padding: 16px 12px;
  text-align: left;
  border-right: 1px solid #e5e7eb !important;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: inherit !important;
}

.table-header-cell:last-child {
  border-right: none !important;
}

.table-list-row {
  display: flex;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
  width: 100%;
  min-width: 100%;
}

.table-cell {
  padding: 16px 12px;
  text-align: left;
  border-right: 1px solid #f3f4f6;
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: fit-content;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-cell:last-child {
  border-right: none !important;
}
  
  .table-list-header,
  .table-list-row {
    min-width: max-content;
    display: flex;
  }
  
  .table-header-cell,
  .table-cell {
    flex-shrink: 0;
    flex: none;
  }
  
  .table-header-cell,
  .table-cell {
    padding: 6px 3px;
    font-size: 0.8rem;
    word-break: break-word;
  }
  
  .pagination {
    flex-wrap: wrap;
    gap: 3px;
    justify-content: center;
    padding: 16px 8px;
    max-width: 100%;
    overflow-x: auto;
  }
  
  .page-btn {
    padding: 6px 8px;
    font-size: 0.8rem;
    min-width: 30px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .empty-state {
    padding: 2rem 1rem;
  }
  
  .empty-state h3 {
    font-size: 1.1rem;
  }
  
  .empty-state p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .table-list-header,
  .table-list-row {
    min-width: max-content;
    display: flex;
  }
  
  .table-header-cell,
  .table-cell {
    border-right: 1px solid #e5e7eb;
    border-bottom: none;
    padding: 12px 8px;
    flex-shrink: 0;
    min-width: fit-content;
  }
  
  .table-header-cell:last-child,
  .table-cell:last-child {
    border-right: none;
  }
  
  .table-header-cell {
    background-color: #f8fafc;
    font-weight: 600;
    color: #374151;
    background: inherit !important;
    border-right: 1px solid #e5e7eb !important;
  }
  
  .table-list-header {
    background: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  /* 480px 이하에서도 헤더 배경색과 테두리 강제 적용 */
  .table-list-container .table-list-header {
    background: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
  }
  
  .table-list-container .table-list-header .table-header-cell {
    background: #f9fafb !important;
    border-right: 1px solid #e5e7eb !important;
  }
  
  /* JavaScript에서 모든 스타일을 처리하므로 반응형 CSS 제거 */
  
  .pagination {
    gap: 2px;
    padding: 12px 4px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .page-btn {
    padding: 4px 6px;
    font-size: 0.75rem;
    min-width: 26px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
}

/* AdminRemittanceLimits 반응형 스타일 */
@media (max-width: 768px) {
  .admin-remittance-limits {
    padding: 0 8px;
  }
  
  .unified-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  
  .header-left {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }  
  .admin-header-left {
    gap: 12px;
    width: 100%;
  }  
  .search-input {
    width: 100%;
  }
  
  .search-input input {
    width: 100%;
    min-width: auto;
  }
  
  .search-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }
  
  .status-filter {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }
  
  .header-center {
    width: 100%;
  }
  
  .limit-display {
    flex-direction: row;
    gap: 24px;
    padding: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .limit-display .limit-item {
    min-width: 120px;
    flex: 0 0 auto;
  }
  
  .limit-display .limit-item:not(:last-child)::after {
    display: block;
  }
  
  .header-right {
    width: 100%;
  }
  
  .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    justify-content: center;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-buttons .btn {
    width: 100%;
    padding: 8px;
    font-size: 0.875rem;
  }
  
  .status-badge {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  
  .reason-cell {
    max-width: none;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .admin-remittance-limits {
    padding: 0 4px;
  }
  
  .unified-header {
    padding: 12px;
    gap: 12px;
  }
  
  .limit-display {
    padding: 12px;
    gap: 12px;
  }
  
  .limit-display .limit-label {
    font-size: 12px;
  }
  
  .limit-display .limit-value {
    font-size: 14px;
  }
  
  .search-input input,
  .search-btn,
  .status-filter,
  .btn {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .action-buttons .btn {
    padding: 6px;
    font-size: 0.8rem;
  }
  
  .status-badge {
    padding: 3px 6px;
    font-size: 0.7rem;
  }
} 

/* Loading Overlay Styles */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-modal {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 300px;
}

.loading-spinner-large {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

.loading-subtext {
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
} /* Admin Remittance Management Styles */

/* Tab Navigation */
.tab-navigation {
  display: flex;
  background: white;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  gap: 8px;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}

.tab-button:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.tab-button.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tab-button svg {
  width: 16px;
  height: 16px;
}

/* Tab Content */
.tab-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tab-panel {
  padding: 0;
}

.panel-content {
  padding: 24px;
  min-height: 400px;
}

/* Placeholder Content */
.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.placeholder-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.placeholder-content h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

.placeholder-content p {
  margin: 0 0 24px 0;
  font-size: 14px;
  line-height: 1.5;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  max-width: 300px;
}

.feature-item {
  font-size: 13px;
  color: #6b7280;
  padding: 4px 0;
}



/* Responsive Design */
@media (max-width: 768px) {
  .tab-navigation {
    flex-direction: column;
    gap: 4px;
  }
  
  .tab-button {
    justify-content: flex-start;
    padding: 12px 16px;
  }
    
  .panel-content {
    padding: 20px 16px;
  }
  
  .placeholder-content {
    padding: 40px 16px;
  }
} 

/* 송금 한도 관리 스타일 */
.remittance-limits-container {
  height: 100%;
}

/* 검색 필터 영역 */
.remittance-limits-container .bg-white {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* 테이블 스타일 */
.remittance-limits-container table {
  border-collapse: collapse;
  width: 100%;
}

.remittance-limits-container th {
  background-color: #f9fafb;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: #6b7280;
  padding: 0.75rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.remittance-limits-container td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.remittance-limits-container tr:hover {
  background-color: #f9fafb;
}

/* 상태 배지 */
.remittance-limits-container .bg-yellow-100 {
  background-color: #fef3c7;
}

.remittance-limits-container .text-yellow-800 {
  color: #92400e;
}

.remittance-limits-container .bg-green-100 {
  background-color: #d1fae5;
}

.remittance-limits-container .text-green-800 {
  color: #065f46;
}

.remittance-limits-container .bg-red-100 {
  background-color: #fee2e2;
}

.remittance-limits-container .text-red-800 {
  color: #991b1b;
}

/* 버튼 스타일 */
.remittance-limits-container button {
  transition: all 0.2s;
}

.remittance-limits-container button:hover {
  transform: translateY(-1px);
}

/* 페이지네이션 */
.remittance-limits-container nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.remittance-limits-container nav button {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.remittance-limits-container nav button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 기본 한도 설정 폼 */
.remittance-limits-container .bg-blue-50 {
  background-color: #eff6ff;
}

.remittance-limits-container .border-blue-200 {
  border-color: #bfdbfe;
}

.remittance-limits-container .text-blue-900 {
  color: #1e3a8a;
}

.remittance-limits-container .text-blue-600 {
  color: #2563eb;
}

.remittance-limits-container .text-blue-700 {
  color: #1d4ed8;
}

/* 송금 한도 관리 리스트 스타일 */
.remittance-list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.list-container {
  padding: 0;
}

/* 헤더 */
.list-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 2fr 1fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 2px solid #e5e7eb;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.header-cell {
  padding: 8px 0;
}

/* 리스트 행 */
.list-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 2fr 1fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
  align-items: center;
}

.list-row:hover {
  background-color: #f9fafb;
}

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

.cell {
  font-size: 14px;
  color: #374151;
  padding: 8px 0;
}

.cell.sender {
  font-weight: 500;
}

.cell.date {
  color: #6b7280;
  font-size: 13px;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.status-success {
  background: #dcfce7;
  color: #166534;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-failed {
  background: #fee2e2;
  color: #991b1b;
}

.status-default {
  background: #f3f4f6;
  color: #374151;
}

/* 빈 상태 */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #6b7280;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #374151;
}

.empty-state p {
  font-size: 14px;
  margin: 0;
  color: #6b7280;
}

/* 페이지네이션 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.page-btn {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #9ca3af;
}

.page-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .remittance-limits-container .flex-col {
    flex-direction: column;
  }
  
  .remittance-limits-container .md\\:flex-row {
    flex-direction: column;
  }
  
  .remittance-limits-container .md\\:grid-cols-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  
  .remittance-limits-container table {
    font-size: 0.875rem;
  }
  
  .remittance-limits-container th,
  .remittance-limits-container td {
    padding: 0.5rem 0.75rem;
  }
  
  /* 모바일에서 리스트 스타일 */
  .list-header,
  .list-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
  }
  
  .header-cell,
  .cell {
    padding: 4px 0;
  }
  
  .cell::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: #6b7280;
  }
  
  .cell.sender::before { content: "사용자: "; }
  .cell:nth-child(2)::before { content: "일일 한도: "; }
  .cell:nth-child(3)::before { content: "월 한도: "; }
  .cell:nth-child(4)::before { content: "1회 한도: "; }
  .cell:nth-child(5)::before { content: "신청 사유: "; }
  .cell:nth-child(6)::before { content: "상태: "; }
  .cell:nth-child(7)::before { content: "신청일: "; }
  .cell:nth-child(8)::before { content: "첨부파일: "; }
  .cell:nth-child(9)::before { content: "작업: "; }
} 

/* 기본 한도 설정 폼 */

/* SweetAlert2 z-index 설정 */
.swal2-z-top {
  z-index: 10001 !important;
}

.swal2-container.swal2-z-top {
  z-index: 10000 !important;
} /* 관리자 로그인 페이지 스타일 */
.admin-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.admin-login-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 420px;
  width: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-login-header {
  margin-bottom: 2.5rem;
}

.admin-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.admin-login-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.admin-login-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 0;
  line-height: 1.6;
  font-weight: 400;
}

.admin-login-form {
  text-align: left;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

.admin-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: #f9fafb;
}

.admin-input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.admin-input:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.password-input-container {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.3s ease;
}

.password-toggle-btn:hover {
  color: #374151;
}

.password-toggle-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
  white-space: pre-line;
}

.admin-login-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.admin-login-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.admin-login-btn:active:not(:disabled) {
  transform: translateY(0);
}

.admin-login-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.admin-login-footer {
  margin-top: 1.5rem;
}

.admin-login-terms {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* 반응형 디자인 */
@media (max-width: 480px) {
  .admin-login-card {
    padding: 2rem 1.5rem;
    margin: 10px;
  }
  
  .admin-login-title {
    font-size: 1.875rem;
  }
  
  .admin-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}


