/* 
  LOOPACUT STRICT MONOCHROME DESIGN SYSTEM
  RULE: Strictly Black, White, and Neutral Grays ONLY.
  ZERO Colors (No blue, green, red, yellow, or purple).
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Common typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Strictly Monochrome Primitives */
  --mono-0: #ffffff;
  --mono-50: #fafafa;
  --mono-100: #f5f5f5;
  --mono-200: #e5e5e5;
  --mono-300: #d4d4d4;
  --mono-400: #a3a3a3;
  --mono-500: #737373;
  --mono-600: #525252;
  --mono-700: #404040;
  --mono-800: #262626;
  --mono-850: #1c1c1c;
  --mono-900: #141414;
  --mono-950: #0a0a0a;
  --mono-1000: #000000;

  /* Admin Dashboard Theme (Strict Dark) */
  --admin-bg: var(--mono-1000);
  --admin-sidebar-bg: var(--mono-950);
  --admin-card-bg: var(--mono-950);
  --admin-card-border: var(--mono-850);
  --admin-input-bg: var(--mono-900);
  --admin-input-border: var(--mono-800);
  --admin-text-main: var(--mono-0);
  --admin-text-muted: var(--mono-400);
  --admin-text-subtle: var(--mono-500);
  --admin-hover-bg: var(--mono-850);
  --admin-btn-primary-bg: var(--mono-0);
  --admin-btn-primary-text: var(--mono-1000);

  /* Public Site Theme (Strict White Editorial) */
  --pub-bg: var(--mono-0);
  --pub-surface: var(--mono-50);
  --pub-card-bg: var(--mono-0);
  --pub-card-border: var(--mono-200);
  --pub-text-main: var(--mono-950);
  --pub-text-muted: var(--mono-600);
  --pub-text-subtle: var(--mono-400);
  --pub-hover-bg: var(--mono-100);
  --pub-btn-primary-bg: var(--mono-1000);
  --pub-btn-primary-text: var(--mono-0);

  /* Shared Radii & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background: var(--pub-bg);
  color: var(--pub-text-main);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Monochrome Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--mono-950);
}
::-webkit-scrollbar-thumb {
  background: var(--mono-800);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--mono-700);
}

/* Custom Monochrome Enterprise Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  background: var(--mono-950);
  color: var(--mono-0);
  border: 1px solid var(--mono-800);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon-wrap {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #262626;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-body {
  flex: 1;
}

.toast-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.toast-message {
  font-size: 12px;
  color: var(--mono-400);
  line-height: 1.4;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: var(--mono-500);
  font-size: 16px;
  line-height: 1;
  padding: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.toast-close-btn:hover {
  color: #ffffff;
}

/* Custom Monochrome Enterprise Confirmation Modal */
.custom-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  padding: 20px;
}

.custom-confirm-card {
  width: 100%;
  max-width: 440px;
  background: #121212;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.custom-confirm-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.custom-confirm-desc {
  font-size: 13px;
  color: var(--mono-400);
  line-height: 1.5;
  margin-bottom: 22px;
}

.custom-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-confirm-cancel {
  padding: 8px 16px;
  background: #1f1f1f;
  border: 1px solid #333333;
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-confirm-cancel:hover {
  background: #2b2b2b;
}

.btn-confirm-danger {
  padding: 8px 18px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-confirm-danger:hover {
  background: #e5e5e5;
}

