/* ==========================================================================
   Components Stylesheet (css/components.css) - Refactored Bright & Clean Tone
   ========================================================================== */

/* 1. Realtime Trend Ticker */
.trend-ticker-bar {
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  width: 100%;
  overflow: hidden;
}

.trend-ticker-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  background: var(--hot-coral);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
  animation: pulse-coral 2.2s infinite;
}

@keyframes pulse-coral {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(0.97); }
}

.ticker-content {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-secondary);
  scrollbar-width: none;
  width: 100%;
}

.ticker-content::-webkit-scrollbar {
  display: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.ticker-item:hover {
  color: var(--accent-primary);
}

.ticker-item span.rank {
  font-weight: 800;
  color: var(--accent-primary);
}

/* 2. Advertisement Slots */
.ad-slot-wrapper {
  margin: 1.2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-glow);
  position: relative;
  box-shadow: var(--shadow-sm);
  width: 100%;
  transition: all var(--transition-normal);
}

.ad-slot-wrapper:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.ad-label {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
  text-transform: uppercase;
}

[data-theme="dark"] .ad-label {
  background: rgba(0, 0, 0, 0.4);
}

.ad-banner-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(236, 72, 153, 0.06));
  text-decoration: none;
  color: var(--text-primary);
  gap: 1rem;
  width: 100%;
}

.ad-banner-content {
  flex: 1;
  min-width: 0;
}

.ad-banner-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
  word-break: break-all;
}

.ad-banner-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.ad-cta-btn {
  padding: 0.6rem 1.2rem;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--accent-glow);
  transition: transform var(--transition-fast);
}

.ad-slot-wrapper:hover .ad-cta-btn {
  transform: scale(1.04);
}

/* Sidebar Ad */
.ad-sidebar-card {
  padding: 1.2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(79, 70, 229, 0.05) 100%);
  width: 100%;
}

.ad-sidebar-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
}

/* Bottom Floating Ad Bar */
.bottom-floating-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glow);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.bottom-floating-ad.hidden {
  transform: translateY(100%);
}

.floating-ad-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}

.floating-badge {
  padding: 0.2rem 0.5rem;
  background: var(--profit-green);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.floating-ad-info p {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-close-ad {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.3rem;
  line-height: 1;
  flex-shrink: 0;
}

/* 3. Category Filter Tabs */
.category-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.2rem 0 1.2rem;
  scrollbar-width: none;
  width: 100%;
}

.category-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.cat-tab-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.cat-tab-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

.cat-tab-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--accent-glow);
}

/* 4. Post Grid & Cards */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
  width: 100%;
}

.post-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  width: 100%;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.post-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.post-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.post-card:hover .post-thumb-img {
  transform: scale(1.05);
}

.post-card-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .post-card-category {
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
}

.post-badge-hot {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--hot-coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.post-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.post-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
}

.post-card-snippet {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
}

.post-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-glass);
  padding-top: 0.75rem;
  width: 100%;
}

.post-meta-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* 5. Post Detail Modal / Viewer */
.detail-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.detail-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detail-modal-overlay.active .detail-modal-box {
  transform: translateY(0);
}

.btn-close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.btn-close-modal:hover {
  background: var(--hot-coral);
  transform: rotate(90deg);
}

.post-detail-hero {
  position: relative;
  width: 100%;
  height: 280px;
}

.post-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-secondary) 0%, transparent 100%);
}

.post-detail-content {
  padding: 1.8rem 2.2rem;
  width: 100%;
}

.post-detail-header {
  margin-bottom: 1.5rem;
}

.post-detail-title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.32;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  word-break: break-all;
}

.post-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 3-Second Summary Box */
.summary-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(236, 72, 153, 0.08));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 1.8rem;
  width: 100%;
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.summary-list {
  padding-left: 1.2rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Post Body HTML */
.post-detail-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-primary);
  width: 100%;
}

.post-detail-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 1.8rem 0 0.8rem;
  color: var(--text-accent);
  word-break: break-all;
}

.post-detail-body p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  word-break: break-all;
}

/* 6. Affiliate Commerce Card */
.affiliate-widget-card {
  background: var(--bg-tertiary);
  border: 2px solid var(--gold-star);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.12);
  position: relative;
  width: 100%;
}

.affiliate-badge {
  position: absolute;
  top: -11px;
  left: 16px;
  background: var(--gold-star);
  color: #fff;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.affiliate-thumb {
  width: 95px;
  height: 95px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.affiliate-info {
  flex: 1;
  min-width: 0;
}

.affiliate-product-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
  word-break: break-all;
}

.affiliate-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.affiliate-discount {
  color: var(--hot-coral);
  font-weight: 900;
  font-size: 1.15rem;
}

.affiliate-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.affiliate-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: #f59e0b;
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: all var(--transition-fast);
}

.affiliate-buy-btn:hover {
  background: #fbbf24;
  transform: translateY(-2px);
}

/* Social Share & Interaction Bar */
.post-interaction-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  width: 100%;
}

.social-share-btns {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-share {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition-fast);
}

.btn-share:hover {
  background: var(--accent-primary);
  color: #fff;
}

/* 7. Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
}

.sidebar-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-primary);
}

/* Tag Cloud */
.tag-cloud-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-bubble {
  padding: 0.3rem 0.7rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tag-bubble:hover {
  background: var(--accent-soft);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* Popular Posts Ranking */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  width: 100%;
  transition: transform var(--transition-fast);
}

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

.ranking-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-muted);
  min-width: 20px;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.ranking-item:nth-child(1) .ranking-num { color: #f59e0b; }
.ranking-item:nth-child(2) .ranking-num { color: #64748b; }
.ranking-item:nth-child(3) .ranking-num { color: #d97706; }

.ranking-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
  flex: 1;
}

/* Newsletter Widget */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.newsletter-input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--accent-primary);
}

.btn-subscribe {
  padding: 0.6rem;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: var(--accent-glow);
}

/* 8. Admin Master & AI Generator Modal Styles */
.admin-modal-box {
  max-width: 720px;
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  width: 100%;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  border-bottom: 2px solid var(--bg-tertiary);
  padding-bottom: 0.7rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-tab-btn {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.admin-tab-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--accent-glow);
}

.admin-form-group {
  margin-bottom: 1.2rem;
  width: 100%;
}

.admin-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.admin-input,
.admin-select,
.admin-textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
  transition: all var(--transition-normal);
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.admin-textarea {
  min-height: 100px;
  resize: vertical;
}

.btn-generate-ai {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.btn-generate-ai:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* 9. Admin Login PIN Gate Modal */
.admin-login-box {
  max-width: 400px;
  text-align: center;
  padding: 2.2rem;
  width: 100%;
}

.admin-pin-input {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 8px;
  font-weight: 800;
  padding: 0.75rem;
  margin: 1.2rem 0;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-glass);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-normal);
}

.admin-pin-input:focus {
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 80px;
  right: 15px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  padding: 0.8rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInRight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ==========================================================================
   9. Policy & Legal Center Modal Styles (이용약관, 개인정보, 제휴광고, 고객센터)
   ========================================================================== */
.policy-modal-box {
  max-width: 840px;
  max-height: 90vh;
  padding: 2rem 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  width: 100%;
}

.policy-nav-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.policy-nav-tabs::-webkit-scrollbar {
  display: none;
}

.policy-tab-btn {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.policy-tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.policy-tab-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--accent-glow);
}

.policy-body-box {
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 0.94rem;
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Legal Document Styles */
.legal-document-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.legal-meta-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  background: var(--accent-soft);
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glow);
  margin-bottom: 0.5rem;
}

.legal-document-wrapper h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border-glass);
}

.legal-document-wrapper p {
  color: var(--text-secondary);
}

.legal-document-wrapper ul {
  padding-left: 1.3rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.privacy-officer-card {
  padding: 1.2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Partner & Proposal Styles */
.partner-hero-banner {
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(236, 72, 153, 0.12));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  margin-bottom: 1.4rem;
}

.partner-hero-banner h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.partner-hero-banner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.partner-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.partner-feat-card {
  padding: 1.1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  text-align: center;
}

.partner-feat-card .feat-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

.partner-feat-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.partner-feat-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.partner-form-container {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.btn-submit-proposal {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  transition: all var(--transition-fast);
}

.btn-submit-proposal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Customer Support Styles */
.cs-top-info {
  margin-bottom: 1.2rem;
}

.cs-top-info h4 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.cs-top-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.cs-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.cs-channel-card {
  padding: 1.2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  text-align: center;
}

.cs-ch-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

.cs-channel-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.cs-channel-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.cs-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--accent-soft);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

