:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f7fa;
  --bg-sidebar: #2c3e50;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --border-color: #e0e0e0;
  --primary-color: #3498db;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-secondary);
  height: 100%;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-secondary);
}

/* 상단 네비게이션 바 */
.top-navbar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-light);
}

.navbar-menu {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
  margin: 0 24px;
}

.nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.nav-link:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.nav-link.active {
  background: var(--primary-color);
  color: white;
}

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

.navbar-search {
  position: relative;
}

.navbar-search input {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 13px;
  width: 200px;
  background: var(--bg-secondary);
}

.navbar-search input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.user-dept {
  font-size: 11px;
  color: var(--text-light);
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.navbar-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.current-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.current-date {
  font-size: 11px;
  color: var(--text-light);
}

/* 메인 레이아웃 */
.main-layout {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* 사이드바 */
.sidebar {
  width: 200px;
  background: var(--bg-sidebar);
  color: white;
  padding: 24px 16px;
  min-height: calc(100vh - 60px);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  font-weight: 600;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  font-size: 14px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-item.active {
  background: var(--primary-color);
  color: white;
}

.nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

/* 메인 콘텐츠 */
.main-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.main-content .page-header {
  margin-bottom: 24px;
}

.main-content .page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

/* 리스트 페이지 레이아웃 스타일 */
.wrap.list-layout {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.list-layout .page-header {
  padding: 36px 52px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(56, 189, 248, 0.16));
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  margin-bottom: 0;
}

.list-layout .page-header h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.list-layout .page-header p {
  margin-top: 12px;
  opacity: 0.85;
}

/* 대시보드 그리드 */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

/* 통계 카드 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
  grid-column: 1 / -1;
}

.stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-note {
  font-size: 11px;
  color: var(--text-light);
}

/* 대시보드 카드 */
.dashboard-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-link {
  font-size: 12px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.card-link:hover {
  text-decoration: underline;
}

.card-content {
  padding: 16px 20px;
}

/* 리스트 아이템 */
.list-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.item-info strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.item-info span {
  font-size: 12px;
  color: var(--text-light);
}

.item-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.item-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #ffffff !important;
  color: #3498db !important;
  font-weight: 600;
  padding: 10px 20px;
  font-size: 14px;
  border: 1px solid #3498db !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.page-header .btn-primary {
  padding: 12px 24px;
  font-size: 15px;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
}

/* 반응형 */
@media (max-width: 1200px) {
  .navbar-menu {
    display: none;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
}

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

@media (max-width: 768px) {
  .top-navbar {
    flex-wrap: wrap;
    padding: 12px 16px;
}

  .navbar-right {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .navbar-search input {
    width: 150px;
  }
  
  .sidebar {
    width: 180px;
  }
  
  .main-content {
    padding: 16px;
}

  .stats-row {
    grid-template-columns: 1fr;
}
}

/* 리포트 페이지 스타일 */
.report-wrapper {
  background: var(--bg-primary);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  width: 100%;
}

.report-section {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.report-section:last-child {
  border-bottom: none;
}

.section__header {
  margin-bottom: 20px;
}

.section__header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.section__header span {
  font-size: 13px;
  color: var(--text-secondary);
}

.summary__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.summary-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.summary-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.summary-card span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.summary-card strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.summary-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.panel-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.panel-card__header {
  margin-bottom: 16px;
}

.panel-card__header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.panel-card__caption {
  font-size: 12px;
  color: var(--text-secondary);
}

.panel-card canvas {
  max-height: 300px;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.report-table thead {
  background: var(--bg-secondary);
}

.report-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.report-table tbody tr:hover {
  background: var(--bg-secondary);
}

/* 리포트 탭 스타일 */
.report-tabs {
  display: flex;
  gap: 0;
  padding: 0 24px;
}

.report-tab {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  bottom: -1px;
}

.report-tab:hover {
  color: var(--brand);
  background: rgba(99, 102, 241, 0.04);
}

.report-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.daily-sub-tabs {
  display: flex;
  gap: 0;
  margin-left: 24px;
}

.daily-sub-tab {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  bottom: -1px;
}

.daily-sub-tab:hover {
  color: var(--brand);
  background: rgba(99, 102, 241, 0.04);
}

.daily-sub-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.tab-content {
  display: block;
}

.tab-content[style*="display: none"] {
  display: none !important;
}

.table-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-card .creative-album {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 20px !important;
  padding: 20px !important;
  width: 100% !important;
  box-sizing: border-box;
}

.table-card .album-wrap {
  overflow: visible;
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.quick-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.quick-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.quick-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.quick-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.quick-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn--primary {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn--primary:hover {
  background: #2980b9;
}

.btn--ghost {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn--ghost:hover {
  background: var(--bg-secondary);
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.status-pill[data-status="진행"] {
  background: #d4edda;
  color: #155724;
}

.status-pill[data-status="제휴중"] {
  background: #d4edda;
  color: #155724;
}

.status-pill[data-status="검수중"] {
  background: #fff3cd;
  color: #856404;
}

.status-pill[data-status="휴면"] {
  background: #f8f9fa;
  color: #6c757d;
}

.status-pill[data-status="보류"] {
  background: #ffeaa7;
  color: #856404;
}

.status-pill[data-status="중단"] {
  background: #f8d7da;
  color: #721c24;
}

/* 리스트 페이지 공통 스타일 (리포트 스타일과 통일) */
.status-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 0;
}

.status-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  text-align: center;
}

.status-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.status-card.active {
  border-color: var(--primary-color);
  background: rgba(52, 152, 219, 0.05);
}

.status-label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.status-note {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border: none;
}

.filter-group:hover {
  border: none;
  box-shadow: none;
}

.filter-label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 13px;
  min-width: 60px;
  white-space: nowrap;
}

.form-control {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-primary);
  font-size: 13px;
  transition: all 0.2s;
  color: var(--text-primary);
}

.form-control[type="date"],
.form-control[type="time"] {
  font-size: 14px !important;
  padding: 6px 8px !important;
  line-height: 1.5 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  min-width: 0 !important;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.form-control select,
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 32px;
  cursor: pointer;
}

.status-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-primary);
  font-size: 12px;
  padding: 4px 24px 4px 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.status-select:hover {
  border-color: var(--primary-color);
}

.status-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.filter-group .form-control {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
}

.date-group {
  display: flex;
  align-items: center;
  gap: 8px;
  }

.tilde {
  color: var(--text-secondary);
  font-size: 14px;
  }

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

.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.result-info {
  font-size: 13px;
  color: var(--text-secondary);
}

.result-info strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pagination {
  display: flex;
  gap: 8px;
}

.empty-row td {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-light);
  font-size: 14px;
}

.view-toggle {
  display: inline-flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-primary);
}

.view-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn:hover {
  background: var(--bg-secondary);
}

.view-btn.active {
  background: var(--primary-color);
  color: white;
}

/* 리포트 테이블과 기존 테이블 통일 */
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.report-table thead {
  background: var(--bg-secondary);
}

.report-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.report-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.report-table tbody tr:hover {
  background: var(--bg-secondary);
}

.report-table tbody tr:last-child td {
  border-bottom: none;
}

/* 등록 페이지 스타일 */
.report-section .content-body {
  padding: 0;
}

.report-section .tbl_wrap {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}

.report-section .tbl_wrap table {
  width: 100%;
  border-collapse: collapse;
}

.report-section .tbl_wrap td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  background: var(--bg-primary);
  font-size: 14px;
  color: var(--text-primary);
}

.report-section .tbl_wrap tr:last-child td {
  border-bottom: none;
}

.report-section .col_303030 {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
  width: 180px;
  text-align: right;
  padding-right: 24px;
}

.button-bar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  margin-top: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border-top: 2px solid var(--border-color);
}

.button-bar .btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  min-width: 120px;
  border-radius: var(--radius);
}

.btn-black {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-black:hover {
  background: var(--border-color);
}

.btn-emerald,
.btn-emerald.btn-primary {
  background: #ffffff !important;
  color: #3498db !important;
  border: 1px solid #3498db !important;
  font-weight: 600;
  font-size: 15px;
  min-width: 120px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.btn-emerald:hover,
.btn-emerald.btn-primary:hover {
  background: #3498db !important;
  color: white !important;
  box-shadow: var(--shadow-md);
}

.btn-emerald:active,
.btn-emerald.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 필터 영역 리포트 스타일 적용 */
.report-section .filter-bar {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  margin: 0;
}

.report-section .filter-group .form-control {
  min-width: 160px;
  background-color: var(--bg-primary);
}

.report-section .date-group .form-control {
  min-width: 130px;
  background-color: var(--bg-primary);
}

/* 소재 목록 랜딩 URL 스타일 */
.link-cell {
  font-size: 12px;
  max-width: 200px;
  word-break: break-all;
}

.link-cell a {
  color: var(--primary-color);
  text-decoration: none;
}

.link-cell a:hover {
  text-decoration: underline;
}

/* 앨범 보기 스타일 */
.album-wrap {
  padding: 20px 0;
}

.album-wrap.hidden {
  display: none !important;
}

.creative-album {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 20px !important;
  width: 100%;
  padding: 0;
  margin: 0;
}

.creative-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.creative-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.creative-thumb {
  position: relative;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.creative-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-type {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.thumb-ext {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  text-transform: uppercase;
  z-index: 1;
}

.creative-meta {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creative-meta .creative-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.creative-meta .creative-advertiser {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.creative-meta .creative-file {
  font-size: 12px;
  color: var(--text-light);
  word-break: break-all;
}

.creative-meta .creative-link {
  font-size: 11px;
  color: var(--primary-color);
  text-decoration: none;
  word-break: break-all;
  display: block;
}

.creative-meta .creative-link:hover {
  text-decoration: underline;
}

.creative-meta .creative-date {
  font-size: 11px;
  color: var(--text-light);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.hidden {
  display: none !important;
}

.empty-placeholder {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-light);
  font-size: 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px dashed var(--border-color);
}

/* 대시보드 리스트 스타일 */
.dashboard-list {
  padding: 0;
}

.dashboard-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
}

.dashboard-list-item:hover {
  background: var(--bg-secondary);
}

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

.dashboard-list-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.dashboard-list-item__info strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.dashboard-list-item__info span {
  font-size: 12px;
  color: var(--text-secondary);
}

.dashboard-list .empty-state {
  text-align: center;
  padding: 24px;
  color: var(--text-light);
  font-size: 13px;
}

/* 대시보드 상태 스타일 */
.status-active {
  background: #d1fae5 !important;
  color: #065f46 !important;
  }

.status-ended {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.status-paused {
  background: #fee2e2 !important;
  color: #991b1b !important;
  }

.status-review {
  background: #dbeafe !important;
  color: #1e40af !important;
  }

.status-sleep {
  background: #f3f4f6 !important;
  color: #4b5563 !important;
  }

.status-default {
  background: var(--bg-secondary) !important;
  color: var(--text-secondary) !important;
  }

/* 대시보드 빠른 액세스 스타일 */
.dashboard-quick-access {
  padding: 0;
  }

.quick-access-item {
  display: flex;
    align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-primary);
  transition: background-color 0.2s;
  }

.quick-access-item:last-child {
  border-bottom: none;
  }

.quick-access-item:hover {
  background: var(--bg-secondary);
  }

.quick-access-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  flex-shrink: 0;
  }

.quick-access-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  }

.quick-access-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  }

.quick-access-item span {
  font-size: 12px;
  color: var(--text-secondary);
  }

/* 대시보드 알림 스타일 */
.dashboard-alerts {
  display: flex;
    flex-direction: column;
  gap: 12px;
  }

.dashboard-alert {
  display: flex;
    align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border-left: 4px solid;
}

.dashboard-alert--warning {
  background: #fef3c7;
  border-left-color: #f59e0b;
  color: #92400e;
}

.dashboard-alert--info {
  background: #dbeafe;
  border-left-color: #3b82f6;
  color: #1e40af;
}

.dashboard-alert__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.dashboard-alert__content {
  flex: 1;
}

.dashboard-alert__content p {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.5;
}

.dashboard-alert__link {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.dashboard-alert__link:hover {
  opacity: 1;
  text-decoration: underline;
}
