/* ── Local Bengali Font ─────────────────────────────────── */
@font-face {
  font-family: 'TiroBangla';
  src: url('font/TiroBangla.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --bg: #FAFAF9;
  --surface: #F1F1EE;
  --surface-card: #FFFFFF;
  --surface-hover: #E8E8E3;
  --line: #E3E3DE;
  --line-2: #C7C7C0;
  --ink: #18181C;
  --muted: #6C6B72;
  --faint: #9B9AA1;

  /* Signature Proofreader Accent */
  --proof: #A82838;
  --proof-wash: rgba(168, 40, 56, 0.08);
  --proof-border: rgba(168, 40, 56, 0.32);
  --proof-glow: rgba(168, 40, 56, 0.2);

  /* Status Tokens */
  --status-live: #A82838;
  --status-upcoming: #18181C;
  --status-done: #4A6B53;
  --status-done-wash: rgba(74, 107, 83, 0.1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(24, 24, 28, 0.04);
  --shadow-md: 0 4px 12px rgba(24, 24, 28, 0.08);
  --shadow-card: 0 4px 16px -2px rgba(24, 24, 28, 0.06), 0 1px 3px rgba(24, 24, 28, 0.03);
  --shadow-modal: 0 16px 36px -4px rgba(24, 24, 28, 0.16), 0 4px 12px rgba(24, 24, 28, 0.08);

  /* Typography */
  --display: 'Schibsted Grotesk', 'TiroBangla', system-ui, -apple-system, sans-serif;
  --serif: 'Newsreader', 'TiroBangla', Georgia, serif;
  --mono: 'JetBrains Mono', 'TiroBangla', ui-monospace, monospace;
  --bn: 'TiroBangla', system-ui, sans-serif;

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transition */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* ── Topbar Header (Tactile Frosted Topbar) ───────────────── */
.app-topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: rgba(250, 250, 249, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}

.topbar-inner {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  user-select: none;
  white-space: nowrap;
  min-width: 0;
}

.brand-title {
  font-family: var(--display);
  font-size: clamp(1.02rem, 3.8vw, 1.14rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}

.brand-dot {
  color: var(--proof);
  font-size: 1.18em;
  line-height: 0;
  margin-left: 1px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── PWA Install Header Pill Button ─────────────────────── */
.pwa-header-pill {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.pwa-header-pill.visible {
  display: inline-flex !important;
}

.pwa-header-pill.hidden,
.pwa-header-pill.installed {
  display: none !important;
}

.pwa-header-pill svg {
  width: 14px;
  height: 14px;
  color: var(--proof);
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pwa-header-pill:hover {
  background: var(--surface-hover);
  border-color: var(--line-2);
  color: var(--proof);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.pwa-header-pill:hover svg {
  transform: translateY(1px);
}

.pwa-header-pill:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.pwa-header-pill.has-prompt {
  border-color: var(--proof);
  background: var(--proof-wash);
  color: var(--proof);
  box-shadow: 0 0 0 1px var(--proof-wash);
}



/* Standalone Mode PWA concealment */
@media (display-mode: standalone),
(display-mode: fullscreen),
(display-mode: minimal-ui) {

  #pwa-install-header,
  .pwa-header-pill {
    display: none !important;
  }
}

/* ── App Wrapper ─────────────────────────────────────────── */
.main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.app-wrapper {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 16px 40px;
}

/* ── Routine Intro ───────────────────────────────────────── */
.routine-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding-bottom: 2px;
}

.routine-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.25rem, 3.8vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--proof);
}

.routine-title a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.routine-title a:hover {
  opacity: 0.88;
  filter: brightness(1.08);
}

.subheading-text {
  font-family: var(--display);
  font-size: clamp(0.78rem, 2.2vw, 0.86rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ── Routine Actions Row (Year Switcher & Share Action) ────── */
.routine-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 2px;
}

.routine-switcher-container {
  margin-top: 0;
  width: auto;
  display: flex;
}

/* ── Routine Share Pill Button ────────────────────────────── */
.routine-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.routine-share-btn svg {
  width: 12px;
  height: 12px;
  color: var(--ink);
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.routine-share-btn:hover {
  background: var(--surface-card);
  border-color: var(--line-2);
  color: var(--proof);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(24, 24, 28, 0.07);
}

.routine-share-btn:hover svg {
  color: var(--proof);
  transform: scale(1.1);
}

.routine-share-btn:active {
  transform: scale(0.95);
}

/* Copied feedback state */
.routine-share-btn.copied {
  border-color: var(--status-done);
  background: var(--status-done-wash);
  color: var(--status-done);
  box-shadow: 0 0 0 1px var(--status-done-wash);
}

.routine-share-btn.copied svg {
  color: var(--status-done);
  transform: scale(1.15);
}



/* Global Bengali Text Selector */
[lang="bn"],
.bn-text {
  font-family: var(--bn);
}

/* Switcher Pills (when multiple routines exist) */
.switch-group {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2.5px;
  border-radius: var(--radius-full);
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.switch-group::-webkit-scrollbar {
  display: none;
}

.switch-pill {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  min-height: 27px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  text-align: center;
  position: relative;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pill-label {
  display: inline-block;
  pointer-events: none;
}



.switch-pill:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.025);
}

.switch-pill:active {
  transform: scale(0.94);
}

.switch-pill.active {
  background: var(--surface-card);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 4px rgba(24, 24, 28, 0.08), 0 0 1px rgba(24, 24, 28, 0.12);
  transform: scale(1);
  animation: pillPop 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pillPop {
  0% {
    transform: scale(0.94);
  }

  60% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

/* ── Routine Switching Transitions ────────────────────────── */
.routine-animating {
  animation: routineFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes routineFadeIn {
  0% {
    opacity: 0.3;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.routine-animating .day-section {
  animation: daySectionSlide 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.routine-animating .day-section:nth-child(1) {
  animation-delay: 0.02s;
}

.routine-animating .day-section:nth-child(2) {
  animation-delay: 0.05s;
}

.routine-animating .day-section:nth-child(3) {
  animation-delay: 0.08s;
}

.routine-animating .day-section:nth-child(4) {
  animation-delay: 0.11s;
}

.routine-animating .day-section:nth-child(5) {
  animation-delay: 0.14s;
}

@keyframes daySectionSlide {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Routine Switching Spinner Loader ────────────────────── */
.routine-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 42px 16px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  animation: fadeInSlide 0.15s ease forwards;
}

.routine-spinner {
  width: 26px;
  height: 26px;
  border: 2.5px solid var(--line);
  border-top-color: var(--proof);
  border-radius: 50%;
  animation: routineSpin 0.55s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes routineSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ── Live Countdown Status Bar ────────────────────────────── */
.countdown-section {
  width: 100%;
}

.countdown-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: clamp(0.74rem, 2.8vw, 0.82rem);
  color: var(--muted);
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--proof);
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.status-indicator.live {
  background-color: var(--proof);
  box-shadow: 0 0 8px var(--proof-glow);
  animation: pulseLive 2s infinite ease-in-out;
}

.status-indicator.completed {
  background-color: var(--status-done);
  box-shadow: none;
}

@keyframes pulseLive {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}

.countdown-text {
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.countdown-digits {
  color: var(--proof);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ── Search & Filter Section ─────────────────────────────── */
.search-section {
  width: 100%;
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* Custom Select Dropdown */
.custom-select {
  position: relative;
  flex-shrink: 0;
}

.select-button {
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  user-select: none;
  position: relative;
  flex-shrink: 0;
}

.select-button:hover {
  background: var(--surface-hover);
  border-color: var(--line-2);
}

.select-button:hover .filter-icon {
  color: var(--ink);
  transform: scale(1.08);
}

.select-button:active {
  transform: scale(0.95);
}

/* ── Dedicated Category Active State (Colored Icon & Theme Wash) ── */
.select-button.has-filter {
  border-color: var(--proof);
  background: var(--proof-wash);
  box-shadow: 0 0 0 1px var(--proof-border);
}

.select-button.has-filter:hover {
  background: rgba(168, 40, 56, 0.14);
  border-color: var(--proof);
}

.select-button.has-filter::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: var(--proof);
  border: 1.5px solid var(--surface-card);
  animation: filterDotPop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.filter-icon svg {
  fill: none;
  stroke: currentColor;
  transition: fill var(--transition-fast), stroke var(--transition-fast);
}

/* Only colored when dedicated category is chosen */
.select-button.has-filter .filter-icon {
  color: var(--proof);
}

.select-button.has-filter .filter-icon svg {
  fill: var(--proof);
  stroke: var(--proof);
}

.select-button.has-filter:hover .filter-icon {
  color: var(--proof);
  transform: scale(1.08);
}

.chevron-icon {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Category Picker Bottom Sheet ───────────────────────────── */
.sheet-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 24, 28, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 125;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sheet-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sheet-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 460px;
  padding: 12px 18px 24px;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sheet-backdrop.open .sheet-card {
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--line-2);
  margin: 0 auto 4px;
  flex-shrink: 0;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.sheet-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sheet-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--proof);
}

.sheet-title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.sheet-close-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sheet-close-btn:hover {
  background: var(--surface-hover);
  color: var(--ink);
  border-color: var(--line-2);
}

.sheet-options-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sheet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.sheet-option:hover {
  background: var(--surface-hover);
  border-color: var(--line-2);
}

.sheet-option.active {
  background: var(--proof-wash);
  border-color: var(--proof-border);
}

.sheet-option-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sheet-option-name {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition-fast);
}

.sheet-option.active .sheet-option-name {
  color: var(--proof);
  font-weight: 700;
}

.sheet-option-desc {
  font-family: var(--display);
  font-size: 0.72rem;
  color: var(--muted);
}

.sheet-option.active .sheet-option-desc {
  color: var(--proof);
  opacity: 0.85;
}

.sheet-option-check {
  color: var(--proof);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.sheet-option.active .sheet-option-check {
  opacity: 1;
  transform: scale(1);
}

/* Search Input */
.search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

#class-search {
  width: 100%;
  height: 38px;
  padding: 0 34px 0 36px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#class-search::placeholder {
  color: transparent;
}

/* Animated Placeholder Overlay */
.search-placeholder-animated {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.search-placeholder-animated.hidden {
  opacity: 0;
}

.search-placeholder-static {
  flex-shrink: 0;
  line-height: 1;
  color: var(--ink);
}

.search-placeholder-cycle {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 1.25em;
  min-width: 15ch;
  overflow: hidden;
  line-height: 1;
}

.search-cycle-word {
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  opacity: 0;
  transform: translateY(50%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: var(--proof);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.search-cycle-word.active {
  opacity: 1;
  transform: translateY(-50%);
}

.search-cycle-word.exit-up {
  opacity: 0;
  transform: translateY(-150%);
}

#class-search:focus {
  border-color: var(--proof);
  box-shadow: 0 0 0 2px var(--proof-wash);
}

.btn-clear {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  padding: 4px;
  border-radius: 50%;
  transition: color var(--transition-fast);
}

.btn-clear.visible {
  display: block;
}

.btn-clear:hover {
  color: var(--ink);
}

/* ── Routine Schedule Accordion ───────────────────────────── */
.routine-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.day-section {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}

.day-section:hover {
  border-color: var(--line-2);
}

.day-section.active {
  border-color: var(--line-2);
}

.day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  background: var(--surface-card);
  transition: background var(--transition-fast);
}

.day-header:hover {
  background: var(--surface);
}

.day-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.status-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}

.status-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--proof);
}

.status-dots .dot.unannounced {
  background: var(--faint);
  opacity: 0.5;
}

.status-dots.passed .check-icon {
  color: var(--status-done);
  display: flex;
  align-items: center;
}

.status-dots.passed .check-icon svg {
  width: 11px;
  height: 11px;
}

.day-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.day-divider-bar {
  color: var(--line-2);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.day-name-bn {
  font-family: var(--bn);
  font-size: 0.95rem;
  color: var(--ink);
}

.day-count {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

.chevron {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chevron svg {
  width: 15px;
  height: 15px;
}

.day-section.active .chevron {
  transform: rotate(180deg);
  color: var(--proof);
}

/* Classes Expansion Grid */
.classes-container {
  display: none;
  padding: 4px 12px 12px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.day-section.active .classes-container {
  display: block;
  animation: fadeInSlide 0.2s ease forwards;
}

.classes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

@media (min-width: 580px) {
  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Class Card (Tactile Neo-Grotesk Card) ─────────────────── */
.class-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

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

.card-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--surface);
}

.class-index {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--proof);
  background: var(--proof-wash);
  border: 1px solid var(--proof-border);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.btn-copy {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.btn-copy svg {
  width: 13px;
  height: 13px;
}

.btn-copy:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.btn-copy.copied {
  color: var(--status-done);
  border-color: var(--status-done);
  background: var(--status-done-wash);
}

/* Card Rows */
.card-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.card-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
  flex-shrink: 0;
}

.card-label::after {
  content: ':';
}

.card-value {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  word-break: break-word;
}

.card-value.type-pill,
.card-value.type-val {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--proof);
}


.card-value.time-val {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink);
}

.card-value.date-val {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.card-value.subject-val {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.32;
  max-width: 68%;
  text-align: right;
  word-break: break-word;
}

.card-value.subject-val.has-badge {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
  max-width: 75%;
}

.card-value.teacher-val {
  font-weight: 700;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
}

/* Teacher & Subject Badges & Interactive Tooltips */
.teacher-badge,
.subject-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--proof);
  background: var(--proof-wash);
  border: 1px solid var(--proof-border);
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.subject-badge {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.teacher-badge:hover,
.teacher-badge:focus,
.teacher-badge:focus-visible,
.teacher-badge.is-active,
.subject-badge:hover,
.subject-badge:focus,
.subject-badge:focus-visible,
.subject-badge.is-active {
  background: var(--proof);
  color: #FFFFFF;
  border-color: var(--proof);
  box-shadow: 0 2px 8px var(--proof-glow);
  outline: none;
}

.teacher-tooltip,
.subject-tooltip {
  position: absolute;
  bottom: calc(100% + 7px);
  right: 0;
  background: rgba(24, 24, 28, 0.94);
  color: #FFFFFF;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: normal;
  width: max-content;
  max-width: min(80vw, 280px);
  line-height: 1.35;
  text-align: left;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(24, 24, 28, 0.22);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.18s ease;
  z-index: 30;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.teacher-tooltip::after,
.subject-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 8px;
  border-width: 4px;
  border-style: solid;
  border-color: rgba(24, 24, 28, 0.94) transparent transparent transparent;
}

.teacher-badge:hover .teacher-tooltip,
.teacher-badge:focus .teacher-tooltip,
.teacher-badge:focus-visible .teacher-tooltip,
.teacher-badge:active .teacher-tooltip,
.teacher-badge.is-active .teacher-tooltip,
.subject-badge:hover .subject-tooltip,
.subject-badge:focus .subject-tooltip,
.subject-badge:focus-visible .subject-tooltip,
.subject-badge:active .subject-tooltip,
.subject-badge.is-active .subject-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.card-value.null-val,
.card-value.type-val.null-val {
  color: var(--faint);
  font-weight: 500;
  font-style: italic;
  font-family: var(--mono);
  font-size: 0.74rem;
}

.card-separator {
  height: 1px;
  background: var(--surface);
  width: 100%;
}

/* ── No Results State ─────────────────────────────────────── */
.no-results {
  width: 100%;
  background: var(--surface-card);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  padding: 32px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.no-results.hidden {
  display: none;
}

.no-results-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.no-results-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.no-results-title {
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.no-results-subtitle {
  font-family: var(--display);
  font-size: 0.8rem;
  color: var(--muted);
}

.btn-reset {
  margin-top: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-reset:hover {
  background: var(--surface-hover);
  border-color: var(--line-2);
  color: var(--proof);
  transform: translateY(-1px);
}

/* ── Modal Dialogs ────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 24, 28, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 360px;
  padding: 20px;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: scale(0.95) translateY(6px);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--proof);
  letter-spacing: -0.02em;
}

.modal-close-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--surface-hover);
  color: var(--ink);
  border-color: var(--line-2);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pwa-guide-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.pwa-preview-icon {
  border-radius: 8px;
}

.modal-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.modal-desc {
  font-family: var(--display);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.pwa-instructions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.pwa-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink);
}

.pwa-step-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--line);
  color: var(--proof);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.modal-btn {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  border: 1px solid transparent;
}

.modal-btn.btn-primary {
  background: var(--proof);
  color: #FFFFFF;
  box-shadow: 0 2px 8px var(--proof-glow);
}

.modal-btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--proof-glow);
  opacity: 0.95;
}

.modal-btn.btn-primary:active {
  transform: translateY(0);
}



/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: auto;
  padding: 18px 16px;
  display: flex;
  justify-content: center;
  color: var(--ink);
}

.footer-inner {
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: var(--ink);
}

.f-love {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.footer-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--proof);
}

.version-info {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.version-info span {
  color: var(--ink);
}

/* Utility Animations */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Sleek Floating Toast Notification ─────────────────────── */
.app-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px) scale(0.95);
  background: rgba(24, 24, 28, 0.94);
  color: #FFFFFF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px -4px rgba(24, 24, 28, 0.28), 0 2px 6px rgba(24, 24, 28, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: min(92vw, 420px);
}

.app-toast.active {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74, 107, 83, 0.35);
  color: #5ED989;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

.toast-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.toast-title {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #FFFFFF;
}

.toast-link {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #A1A1AA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hidden {
  display: none !important;
}

/* ── Modern Opening Loading Screen (Ported from website-shop) ── */
html.site-loading,
body.site-loading {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
}

.site-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
  user-select: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-loader.loader-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--line-2) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  opacity: 0.38;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
}

.loader-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 40, 56, 0.1) 0%, rgba(168, 40, 56, 0.02) 45%, transparent 70%);
  pointer-events: none;
  animation: loaderGlowPulse 2.8s ease-in-out infinite alternate;
}

.loader-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 28px 20px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 42px -8px rgba(24, 24, 28, 0.08), 0 2px 6px rgba(24, 24, 28, 0.03);
}

/* Modern Kinetic Circular Spinner */
.loader-spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 14px;
}

.modern-spinner {
  width: 34px;
  height: 34px;
  transform-origin: center center;
  animation: spinnerSpin 1.4s linear infinite;
}

.spinner-track {
  stroke: var(--line);
  stroke-width: 3.5;
}

.spinner-arc {
  stroke: var(--proof);
  stroke-width: 3.5;
  stroke-linecap: round;
  animation: spinnerDash 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px var(--proof-glow));
}

.loader-title {
  font-family: var(--display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink, #18181C);
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0;
  text-align: center;
}

.wait-dots {
  display: inline;
  letter-spacing: 1px;
  font-family: inherit !important;
}

.wait-dots span {
  opacity: 0.2;
  animation: waitDotFade 1.4s infinite ease-in-out;
}

.wait-dots span:nth-child(1) {
  animation-delay: 0s;
}

.wait-dots span:nth-child(2) {
  animation-delay: 0.22s;
}

.wait-dots span:nth-child(3) {
  animation-delay: 0.44s;
}

@keyframes waitDotFade {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

/* Force English typography on loader even in Bengali mode */
body.bn-font .site-loader,
body.bn-font .site-loader * {
  font-family: var(--display) !important;
}

@keyframes spinnerSpin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinnerDash {
  0% {
    stroke-dasharray: 1, 126;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 75, 126;
    stroke-dashoffset: -30;
  }

  100% {
    stroke-dasharray: 1, 126;
    stroke-dashoffset: -125;
  }
}

/* Container entrance transition */
.app-topbar,
.main-content,
.app-footer {
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

html.site-loading .app-topbar,
html.site-loading .main-content,
html.site-loading .app-footer,
body.site-loading .app-topbar,
body.site-loading .main-content,
body.site-loading .app-footer {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

html:not(.site-loading) .app-topbar,
html:not(.site-loading) .main-content,
html:not(.site-loading) .app-footer {
  opacity: 1;
  transform: translateY(0);
}

@keyframes loaderGlowPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.18);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {

  .loader-card,
  .loader-glow,
  .modern-spinner,
  .spinner-arc,
  .wait-dots span,
  .app-topbar,
  .main-content,
  .app-footer,
  .site-loader {
    animation: none !important;
    transition: opacity 0.2s ease !important;
  }
}

@keyframes spinnerSpin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinnerDash {
  0% {
    stroke-dasharray: 1, 126;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 75, 126;
    stroke-dashoffset: -30;
  }

  100% {
    stroke-dasharray: 1, 126;
    stroke-dashoffset: -125;
  }
}

/* Container entrance transition */
.app-topbar,
.main-content,
.app-footer {
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

html.site-loading .app-topbar,
html.site-loading .main-content,
html.site-loading .app-footer,
body.site-loading .app-topbar,
body.site-loading .main-content,
body.site-loading .app-footer {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

html:not(.site-loading) .app-topbar,
html:not(.site-loading) .main-content,
html:not(.site-loading) .app-footer {
  opacity: 1;
  transform: translateY(0);
}

@keyframes loaderGlowPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.18);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {

  .loader-card,
  .loader-glow,
  .modern-spinner,
  .spinner-arc,
  .wait-dots span,
  .app-topbar,
  .main-content,
  .app-footer,
  .site-loader {
    animation: none !important;
    transition: opacity 0.2s ease !important;
  }
}