/* ==========================================================================
   PORTAL PENGUMPULAN TUGAS MAHASISWA - NEOBRUTALISM THEME
   Style: Playful, Bold Neo-Brutalism with Folder Tabs & Hard Drop Shadows
   ========================================================================== */

:root {
  /* Vibrant Pop Palette */
  --bg-backdrop: #FFD21E;
  --bg-frame: #FCFBF7;
  --bg-card: #FFFFFF;
  --text-main: #000000;
  --text-muted: #555555;

  /* Accent Colors */
  --color-yellow: #FFD21E;
  --color-yellow-light: #FFF0A5;
  --color-pink: #FF4B91;
  --color-pink-light: #FFD1E3;
  --color-green: #22C55E;
  --color-green-light: #BBF7D0;
  --color-purple: #8B5CF6;
  --color-purple-light: #DDD6FE;
  --color-cyan: #06B6D4;
  --color-cyan-light: #BAE6FD;
  --color-red: #EF4444;
  --color-red-light: #FECACA;
  --color-slate: #64748B;
  --color-slate-light: #E2E8F0;

  /* Neo-Brutalism Tokens */
  --border-thick: 3px solid #000000;
  --border-medium: 2.5px solid #000000;
  --border-thin: 2px solid #000000;

  --shadow-base: 4px 4px 0px #000000;
  --shadow-lg: 8px 8px 0px #000000;
  --shadow-xl: 12px 12px 0px #000000;
  --shadow-hover: 6px 6px 0px #000000;
  --shadow-active: 2px 2px 0px #000000;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-frame: 36px;
  --radius-pill: 9999px;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.15s ease;
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --bg-backdrop: #12131C;
  --bg-frame: #1E1F2E;
  --bg-card: #282A3A;
  --text-main: #FFFFFF;
  --text-muted: #A0A3BD;

  --border-thick: 3px solid #FFFFFF;
  --border-medium: 2.5px solid #FFFFFF;
  --border-thin: 2px solid #FFFFFF;

  --shadow-base: 4px 4px 0px #FFD21E;
  --shadow-lg: 8px 8px 0px #FFD21E;
  --shadow-xl: 12px 12px 0px #FFD21E;
  --shadow-hover: 6px 6px 0px #FFD21E;
  --shadow-active: 2px 2px 0px #FFD21E;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-backdrop);
  color: var(--text-main);
  min-height: 100vh;
  padding: 1.5rem 1rem 3rem;
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transition: background-color var(--transition-fast);
}

/* Decorative Geometric Shapes (from reference image) */
.geo-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.geo-circle-pink {
  width: 320px;
  height: 320px;
  background-color: var(--color-pink);
  border-radius: 50%;
  border: 4px solid #000000;
  top: 30px;
  left: calc(50% - 360px);
}

.geo-purple-bg {
  width: 400px;
  height: 400px;
  background-color: var(--color-purple);
  border-radius: 40px;
  border: 4px solid #000000;
  bottom: -100px;
  right: calc(50% - 420px);
  transform: rotate(15deg);
}

@media (max-width: 800px) {
  .geo-circle-pink {
    left: -120px;
    top: -50px;
    width: 240px;
    height: 240px;
  }
  .geo-purple-bg {
    right: -140px;
    bottom: -80px;
    width: 280px;
    height: 280px;
  }
}

/* Main App Frame (Phone / Canvas Style on Mobile, Split Dashboard on Desktop) */
.app-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  background: var(--bg-frame);
  border: var(--border-thick);
  border-radius: var(--radius-frame);
  box-shadow: var(--shadow-xl);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: max-width var(--transition-normal), padding var(--transition-normal);
}

/* ==========================================================================
   DESKTOP SPLIT LAYOUT (2-Column Dashboard on Desktop, 1-Column on Mobile)
   ========================================================================== */
.desktop-split-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.layout-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.layout-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.desktop-empty-guide {
  display: none;
}

@media (min-width: 960px) {
  .app-frame {
    max-width: 1140px;
    padding: 2.25rem 2.5rem;
    border-radius: 32px;
    box-shadow: 14px 14px 0px #000000;
  }

  .desktop-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start;
  }

  .layout-col-left {
    position: sticky;
    top: 1.5rem;
  }

  .desktop-empty-guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-card);
    border: 3px dashed #000000;
    border-radius: var(--radius-xl);
    padding: 3.75rem 2rem;
    box-shadow: var(--shadow-base);
  }

  .empty-guide-icon {
    width: 76px;
    height: 76px;
    background: var(--color-yellow);
    color: #000000;
    border: var(--border-thick);
    border-radius: 20px;
    box-shadow: 4px 4px 0px #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  .empty-guide-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
  }

  .empty-guide-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
  }

  .empty-guide-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 380px;
    line-height: 1.5;
  }
}

/* Top Bar Controls */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-square {
  background: var(--color-yellow) !important;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-app-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-app-univ {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Neo-Brutalist Square Buttons */
.btn-neo-square {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: var(--border-medium);
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-base);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-neo-square svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.btn-neo-square:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.btn-neo-square:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-active);
}

/* Hero Section */
.hero-brutal {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.hero-punchline {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 2.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.hero-subtext {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   APP MODE SWITCHER (Segmented Neo-Buttons: Kumpul Tugas & Cek Status)
   ========================================================================== */
.neo-mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  background: var(--bg-card);
  padding: 0.45rem;
  border: var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  margin-top: 0.25rem;
}

.btn-mode-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  background: transparent;
  color: var(--text-muted);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.btn-mode-tab svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.btn-mode-tab:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.04);
}

.btn-mode-tab.active {
  background: var(--color-yellow);
  color: #000000 !important;
  border: 2px solid #000000;
  box-shadow: 3px 3px 0px #000000;
  transform: translate(-1px, -1px);
}

[data-theme="dark"] .btn-mode-tab:hover {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .btn-mode-tab.active {
  background: var(--color-yellow);
  color: #000000 !important;
  border: 2px solid #000000;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

/* Search Bar (NIM Input) */
.nim-search-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nim-search-form {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}

.search-input-box {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input-box:focus-within {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.search-icon-prefix {
  padding-left: 0.9rem;
  display: flex;
  align-items: center;
  color: var(--text-main);
  pointer-events: none;
}

.search-icon-prefix svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.neo-input {
  width: 100%;
  padding: 0.85rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  border: none;
  outline: none;
}

.neo-input::placeholder {
  color: var(--text-muted);
  font-weight: 600;
}

.btn-clear-nim {
  background: transparent;
  border: none;
  padding: 0 0.85rem;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.btn-clear-nim svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.btn-neo-action {
  min-width: 52px;
  padding: 0 1.15rem;
  background: var(--color-yellow);
  color: #000000;
  border: var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-neo-action svg {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

.btn-neo-action:hover {
  background: #FFE052;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.btn-neo-action:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-active);
}

/* Loading & Alerts */
.lookup-loading-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--color-yellow-light);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  font-weight: 700;
  font-size: 0.9rem;
  color: #000000;
}

.neo-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #000000;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.neo-spinner-sm {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid #000000;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.neo-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border: var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
}

.neo-alert-danger {
  background: var(--color-red-light);
  color: #000000;
}

.neo-alert-info {
  background: var(--color-cyan-light);
  color: #000000;
  margin-top: 0.85rem;
}

.alert-neo-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.alert-neo-body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.alert-neo-body p {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Submission Steps Wrapper */
.submission-steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-label-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-neo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border: var(--border-thin);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 2px 2px 0px #000000;
}

.badge-verified {
  background: var(--color-green-light);
  color: #000000;
}

.badge-verified svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

/* ==========================================================================
   FOLDER TAB CARDS (Signature Neobrutalism Design)
   ========================================================================== */
.collections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 680px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .collections-grid .folder-card.folder-theme-purple {
    grid-column: 1 / -1;
  }
}

.folder-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.folder-tab {
  width: fit-content;
  min-width: 90px;
  padding: 0.25rem 0.85rem;
  border: var(--border-medium);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000000;
  transform: translateY(2.5px);
  z-index: 2;
}

.folder-body {
  border: var(--border-medium);
  border-radius: 0 16px 16px 16px;
  box-shadow: var(--shadow-base);
  background: var(--bg-card);
  padding: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
  min-height: 80px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.folder-card:hover .folder-body {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

/* Folder Colors */
.folder-theme-pink .folder-tab {
  background: var(--color-pink);
  color: #FFFFFF;
}

.folder-theme-green .folder-tab {
  background: var(--color-green);
  color: #FFFFFF;
}

.folder-theme-yellow .folder-tab {
  background: var(--color-yellow);
  color: #000000;
}

.folder-theme-purple .folder-tab {
  background: var(--color-purple);
  color: #FFFFFF;
}

.folder-icon-box {
  width: 44px;
  height: 44px;
  border: var(--border-thin);
  border-radius: 10px;
  box-shadow: 2px 2px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #000000;
}

.folder-icon-box svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.bg-pink { background: var(--color-pink-light); }
.bg-green { background: var(--color-green-light); }
.bg-yellow { background: var(--color-yellow-light); }
.bg-purple { background: var(--color-purple-light); }

.folder-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.meta-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
  word-break: break-word;
}

/* ==========================================================================
   ASSIGNMENT CONFIGURATION FOLDER CARD
   ========================================================================== */
.assignment-folder-card {
  position: relative;
  margin-top: 0.5rem;
}

.folder-tab-active {
  background: var(--color-green);
  color: #FFFFFF;
  min-width: 140px;
}

.folder-tab-expired {
  background: var(--color-red) !important;
  color: #FFFFFF !important;
}

.assignment-folder-body {
  border: var(--border-medium);
  border-radius: 0 20px 20px 20px;
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  padding: 1.25rem;
  position: relative;
  z-index: 1;
}

.assignment-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.tag-neo-dark {
  display: inline-block;
  background: #000000;
  color: #FFFFFF;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .tag-neo-dark {
  background: #FFFFFF;
  color: #000000;
}

.assignment-hero-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.badge-status-neo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: var(--border-thin);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 2px 2px 0px #000000;
}

.badge-status-active {
  background: var(--color-green-light);
  color: #000000;
}

.badge-status-expired {
  background: var(--color-red-light);
  color: #000000;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000000;
}

/* Schedule List */
.neo-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.schedule-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: var(--bg-frame);
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.s-label {
  font-weight: 700;
  color: var(--text-muted);
}

.s-val {
  font-family: var(--font-display);
  font-weight: 800;
}

.pill-deadline {
  background: var(--color-yellow-light);
  border-color: #000000;
}

/* Neo-Blocks Countdown */
.neo-countdown-wrapper {
  background: #000000;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.95rem;
  border: var(--border-thin);
  box-shadow: var(--shadow-base);
}

[data-theme="dark"] .neo-countdown-wrapper {
  background: #000000;
  border-color: #FFFFFF;
}

.countdown-heading {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--color-yellow);
}

.countdown-heading svg {
  width: 16px;
  height: 16px;
}

.countdown-blocks-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.cd-neo-block {
  flex: 1;
  background: var(--color-yellow);
  color: #000000;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0px #FFFFFF;
  padding: 0.4rem 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.cd-unit {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.cd-divider {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--color-yellow);
}

/* Expired Banner */
.neo-expired-card {
  background: var(--color-red-light);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  color: #000000;
  box-shadow: var(--shadow-base);
}

.expired-badge-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-red);
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.expired-badge-stamp svg {
  width: 14px;
  height: 14px;
}

.expired-header {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.expired-text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.expired-footer-note {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.85;
}

/* Already Submitted Card */
.neo-submitted-card {
  background: var(--color-green-light);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  color: #000000;
  box-shadow: var(--shadow-base);
}

.submitted-badge-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-green);
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
  box-shadow: 2px 2px 0px #000000;
}

.submitted-badge-stamp svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.submitted-header {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.submitted-text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.submitted-link-preview {
  background: #FFFFFF;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  box-shadow: 2px 2px 0px #000000;
}

.submitted-link-preview small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.submitted-link-preview a {
  font-size: 0.85rem;
  font-weight: 800;
  color: #000000;
  text-decoration: underline;
  word-break: break-all;
}

.badge-status-submitted {
  background: var(--color-green-light) !important;
  color: #000000 !important;
}

.badge-status-submitted .status-indicator-dot {
  background: var(--color-green) !important;
}

/* ==========================================================================
   STEP 3: UPLOAD LINK & SUBMIT BUTTON
   ========================================================================== */
.upload-folder-card {
  border: var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  padding: 1.25rem;
}

.form-group-neo {
  margin-bottom: 1rem;
}

.neo-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 0.45rem;
}

.neo-guide-card {
  background: var(--color-yellow-light);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  margin-bottom: 1.25rem;
  color: #000000;
  box-shadow: 2px 2px 0px #000000;
}

.guide-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.guide-title svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.neo-guide-card p {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.btn-submit-brutal {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--color-yellow);
  color: #000000;
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-submit-brutal .btn-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit-brutal svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

.btn-submit-brutal:hover {
  background: #FFE052;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.btn-submit-brutal:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-active);
}

.btn-submit-brutal:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: var(--shadow-base) !important;
}

/* ==========================================================================
   STEP 4: RIWAYAT & STATUS TUGAS MAHASISWA
   ========================================================================== */
.label-with-icon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-pill-count {
  background: var(--color-purple) !important;
  color: #FFFFFF !important;
  border: var(--border-thin);
  box-shadow: 2px 2px 0px #000000;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-pill-count svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.history-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.history-card-item {
  background: var(--bg-card);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.history-card-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.history-tag-pertemuan {
  background: #000000;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
}

/* Orange Status Badge for Tugas Diperiksa */
.badge-status-orange {
  background: #FFE8D6 !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
}

.badge-status-orange .status-indicator-dot {
  background: #FF7A00 !important;
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.25);
}

.history-empty-box {
  background: var(--bg-card);
  border: 2px dashed #000000;
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.875rem;
}

/* ==========================================================================
   NEOBRUTALISM RECEIPT MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.neo-modal-card {
  background: var(--bg-frame);
  border: var(--border-thick);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 1.5rem;
}

/* ==========================================================================
   POP UP KONFIRMASI TUGAS BERHASIL TERKIRIM
   ========================================================================== */
.confirm-modal-card {
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 440px;
}

.confirm-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.confirm-icon-box {
  width: 72px;
  height: 72px;
  background: var(--color-green);
  color: #FFFFFF;
  border: var(--border-thick);
  border-radius: 20px;
  box-shadow: 4px 4px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.confirm-icon-box svg {
  width: 42px;
  height: 42px;
  stroke-width: 3;
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-yellow);
  color: #000000;
  border: var(--border-thin);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 2px 2px 0px #000000;
  margin-bottom: 0.65rem;
}

.confirm-badge svg {
  width: 14px;
  height: 14px;
}

.confirm-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.confirm-desc {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.confirm-info-box {
  background: #FFFFFF;
  color: #000000;
  border: var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0px #000000;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.confirm-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.confirm-info-row .c-label {
  color: var(--text-muted);
  font-weight: 700;
}

.confirm-info-row .c-val {
  font-weight: 800;
  text-align: right;
}

.confirm-status-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: #FFE8D6;
  color: #000000;
  border: 1.5px solid #000000;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 0.75rem;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: var(--border-thin);
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: 2px 2px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.btn-modal-close:hover {
  background: var(--color-red-light);
  transform: scale(1.05);
}

.neo-receipt-slip {
  background: #FFFFFF;
  color: #000000;
  border: var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  padding: 1.25rem;
}

.receipt-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.receipt-brand-icon {
  width: 44px;
  height: 44px;
  background: var(--color-yellow);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  box-shadow: 2px 2px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt-brand-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
}

.receipt-brand-text p {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.receipt-neo-divider {
  height: 3px;
  background: repeating-linear-gradient(90deg, #000000, #000000 8px, transparent 8px, transparent 16px);
  margin: 1rem 0;
}

.receipt-stamp-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-green-light);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

.stamp-verified {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 900;
  font-size: 0.8rem;
}

.stamp-verified svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.receipt-ticket-no {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.receipt-ticket-no small {
  font-size: 0.6rem;
  font-weight: 800;
}

.receipt-ticket-no strong {
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 900;
}

.receipt-data-table {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.receipt-data-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.825rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed #CBD5E1;
}

.r-head {
  color: var(--text-muted);
  font-weight: 700;
}

.r-body {
  font-weight: 700;
  text-align: right;
  word-break: break-all;
}

.r-bold {
  font-weight: 900;
}

.r-link {
  color: #2563EB;
  font-size: 0.78rem;
}

.r-tag-verified {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--color-green-light);
  border: 1.5px solid #000000;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 0.75rem;
}

.receipt-bottom-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 2px dashed #000000;
}

.qr-neo-box {
  width: 60px;
  height: 60px;
  background: #000000;
  color: var(--color-yellow);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.15rem;
}

.qr-neo-box svg {
  width: 28px;
  height: 28px;
}

.qr-neo-box span {
  font-size: 0.45rem;
  font-weight: 900;
}

.receipt-disclaimer-text p {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.receipt-disclaimer-text small {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.modal-neo-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.btn-neo-modal {
  flex: 1;
  padding: 0.75rem;
  border: var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-modal-primary {
  background: var(--color-yellow);
  color: #000000;
}

.btn-modal-secondary {
  background: var(--bg-card);
  color: var(--text-main);
}

.btn-modal-ghost {
  background: transparent;
  color: var(--text-main);
}

.btn-neo-modal:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.btn-neo-modal:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-active);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  background: var(--bg-card);
  color: var(--text-main);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-base);
  font-weight: 700;
  font-size: 0.875rem;
  animation: slideUp 0.2s ease-out;
}

.toast svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.toast-success {
  background: var(--color-green-light);
}

.toast-error {
  background: var(--color-red-light);
}

.toast-info {
  background: var(--color-yellow-light);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.app-footer {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 0.5rem;
}

/* Mobile Responsive Optimization */
@media (max-width: 600px) {
  body {
    padding: 0.75rem 0.5rem 2rem;
  }

  .app-frame {
    border-radius: 22px;
    padding: 1.15rem 0.85rem;
    box-shadow: 6px 6px 0px #000000;
    gap: 1.15rem;
  }

  .hero-brutal {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }

  .hero-punchline {
    font-size: 1.85rem;
    line-height: 1.1;
  }

  .hero-subtext {
    font-size: 0.85rem;
  }

  .search-input-box {
    border-width: 2.5px;
    box-shadow: 3px 3px 0px #000000;
  }

  .neo-input {
    font-size: 0.95rem;
    padding: 0.75rem 0.5rem;
  }

  .btn-neo-action {
    min-width: 46px;
    padding: 0 0.85rem;
    box-shadow: 3px 3px 0px #000000;
  }

  .folder-body {
    padding: 0.85rem;
    border-radius: 0 14px 14px 14px;
    box-shadow: 3px 3px 0px #000000;
  }

  .assignment-folder-body {
    padding: 1rem 0.85rem;
    border-radius: 0 16px 16px 16px;
    box-shadow: 4px 4px 0px #000000;
  }

  .assignment-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .assignment-hero-title {
    font-size: 1.1rem;
  }

  .countdown-blocks-grid {
    gap: 0.2rem;
  }

  .cd-neo-block {
    padding: 0.35rem 0.15rem;
    border-radius: 6px;
  }

  .cd-val {
    font-size: 1.1rem;
  }

  .cd-unit {
    font-size: 0.55rem;
  }

  .cd-divider {
    font-size: 1.1rem;
  }

  .upload-folder-card {
    padding: 1rem 0.85rem;
    border-radius: 16px;
    box-shadow: 4px 4px 0px #000000;
  }

  .btn-submit-brutal {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }

  .neo-modal-card {
    padding: 1.15rem 0.85rem;
    border-radius: 20px;
  }

  .modal-neo-actions {
    flex-direction: column;
  }
}

/* Print Styles */
@media print {
  body {
    background: #FFFFFF !important;
    padding: 0 !important;
  }

  .geo-shape,
  .app-topbar,
  .hero-brutal,
  .nim-search-section,
  .submission-steps-wrapper,
  .app-footer,
  .modal-neo-actions,
  .btn-modal-close,
  .no-print {
    display: none !important;
  }

  .app-frame {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  #modalReceipt {
    display: block !important;
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .neo-modal-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .neo-receipt-slip {
    border: 3px solid #000000 !important;
    box-shadow: none !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }
}
