/* approval-core.css — Sprint 6b P2-1 A-class extraction from approval-core.js */

.ac-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, #0C0A09 0%, #1C1917 50%, #292524 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overscroll-behavior: contain;
}

.ac-close-btn {
  position: absolute;
  top: max(16px, env(safe-area-inset-top) + 8px);
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(68,64,60,0.3);
  border: 1px solid rgba(68,64,60,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}

.ac-close-icon {
  font-size: 18px;
  color: rgba(168,162,158,0.7);
}

.ac-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: max(50px, env(safe-area-inset-top) + 30px) 20px max(20px, env(safe-area-inset-bottom) + 10px);
}

.ac-header {
  text-align: center;
  margin-bottom: 16px;
}

/* v9.4.55: 圓形 + 水平排列 */
.ac-icon-square {
  width: 46px;
  height: 46px;
  background: rgba(243,156,18,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ac-admin-icon {
  font-size: 24px;
  color: rgba(243,156,18,0.85);
}

.ac-title {
  font-size: 20px;
  font-weight: 500;
  color: #FAFAF9;
  letter-spacing: 3px;
  margin: 0;
}

.ac-badge {
  display: inline-block;
  background: rgba(28,25,23,0.6);
  border: 1px solid rgba(68,64,60,0.4);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  color: rgba(168,162,158,0.6);
}

.ac-container {
  flex: 1;
  background: rgba(28,25,23,0.6);
  border: 1px solid rgba(68,64,60,0.4);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ac-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(68,64,60,0.3);
  background: rgba(15,15,15,0.5);
}

.ac-tab-btn {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ac-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(15,15,15,0.3);
  border-bottom: 1px solid rgba(68,64,60,0.3);
}

.ac-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.ac-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.ac-empty-state {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: rgba(168,162,158,0.4);
}

.ac-form-card {
  background: #141414;
  border: 1px solid #252525;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}
