/* ==========================================================================
   مسابقة المعالم النجفية - Stylesheet (Najaf Landmarks Puzzle Game)
   Aesthetics: Islamic Heritage, Warm Parchment, Olive Green & Frosted Glass
   ========================================================================== */

:root {
  --font-family: 'Tajarib', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Heritage Color Palette */
  --color-title-dark: #3E2D1D;
  --color-subtitle-dark: #6D5C4A;
  --color-text-body: #3B2E20;
  --color-text-muted: #8C7A65;

  --color-parchment-light: #FBF7EE;
  --color-parchment-base: #F3EADB;
  --color-parchment-border: #D4C2A3;
  --color-parchment-dark: #C7B18E;

  --color-olive-green: #6E8B2C;
  --color-olive-light: #8CAE3E;
  --color-olive-dark: #4C631A;

  --color-gold-light: #E8CA65;
  --color-gold-accent: #CFAB34;

  --color-glass-card-bg: rgba(247, 243, 233, 0.88);
  --color-glass-border: rgba(255, 255, 255, 0.65);
  --color-tray-bg: rgba(249, 245, 236, 0.88);

  --color-success: #4C8521;
  --color-error: #B73225;

  --shadow-soft: 0 4px 14px rgba(47, 36, 23, 0.14);
  --shadow-medium: 0 8px 24px rgba(47, 36, 23, 0.22);
  --shadow-strong: 0 12px 36px rgba(47, 36, 23, 0.32);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  font-family: var(--font-family);
  direction: rtl;
  text-align: right;
  background-color: var(--color-parchment-base);
  color: var(--color-text-body);
}

/* Background Layers */
.app-background {
  position: fixed;
  inset: 0;
  background-image: url('../assets/images/backgrounds/app_background.png');
  background-size: cover;
  background-position: center top;
  z-index: 0;
  pointer-events: none;
}

.app-bottom-haze {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(248, 244, 234, 0.92), rgba(248, 244, 234, 0.5), transparent);
  z-index: 1;
  pointer-events: none;
}

.victory-backdrop-blur {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.victory-backdrop-blur.active {
  opacity: 1;
  pointer-events: auto;
}

/* Root App Shell */
.app-root-container {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: 540px;
  margin: 0 auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .app-root-container {
    max-width: 1100px;
  }
}

/* Common App Views */
.app-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.app-view.hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(10px);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   1. HOME VIEW
   ========================================================================== */
.home-content-box {
  width: 100%;
  height: 100%;
  padding: 16px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.home-header {
  padding-top: 8px;
}

.logo-ataba {
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.home-center-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -10px;
}

.arch-dome-wrapper {
  position: relative;
  width: 220px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.home-arch-crown {
  position: absolute;
  bottom: 0;
  width: 220px;
  object-fit: contain;
  pointer-events: none;
}

.home-imam-ali-dome {
  position: absolute;
  bottom: 0;
  width: 150px;
  object-fit: contain;
  pointer-events: none;
}

.home-title-frame-wrapper {
  position: relative;
  width: 320px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -1px;
}

.home-title-frame-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.home-title-text {
  position: relative;
  font-size: 23px;
  font-weight: 900;
  color: #382310;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
  z-index: 1;
}

.home-slogan-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.star-ornament {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.home-slogan-text {
  font-size: 14.5px;
  font-weight: 800;
  color: #5A4026;
  letter-spacing: 0.5px;
}

.home-bottom-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.btn-start-game-wrapper {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.btn-start-game-wrapper:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

.btn-start-game-wrapper:active {
  transform: scale(0.96);
}

.btn-start-game-img {
  width: 280px;
  height: 68px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   2. GAME VIEW & APP BAR
   ========================================================================== */
.game-content-layout {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px 12px 10px 12px;
}

.game-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 6px 0;
  flex-shrink: 0;
}

.circle-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-glass-card-bg);
  border: 1.5px solid var(--color-parchment-border);
  color: var(--color-title-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.circle-action-btn:hover {
  transform: scale(1.08);
  background: #FFFFFF;
}

.circle-action-btn:active {
  transform: scale(0.92);
}

.game-app-bar-titles {
  text-align: center;
  flex: 1;
  padding: 0 10px;
  overflow: hidden;
}

.game-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-title-dark);
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.game-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-subtitle-dark);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Game Layout Grid (Board + Tray) */
.game-interactive-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  overflow: hidden;
}

@media (min-width: 900px) {
  .game-interactive-area {
    flex-direction: row;
    gap: 16px;
  }
}

/* Board Area */
.board-column {
  flex: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.board-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.puzzle-board {
  position: relative;
  background-color: transparent;
  border-radius: 14px;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  touch-action: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-texture-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 1;
}

.board-guide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 2;
}

.board-canvas-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.board-pieces-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.placed-piece-canvas {
  position: absolute;
  pointer-events: none;
  animation: piecePopIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes piecePopIn {
  0% {
    transform: scale(1.15);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.board-slots-container {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.puzzle-slot {
  position: absolute;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.puzzle-slot.slot-hover {
  background-color: rgba(207, 171, 52, 0.35);
  border-radius: 6px;
}

/* Feedback Badges */
.slot-feedback-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: feedbackPop 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
  pointer-events: none;
}

.feedback-success {
  background-color: var(--color-success);
}

.feedback-error {
  background-color: var(--color-error);
}

@keyframes feedbackPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
  80% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.6);
    opacity: 0;
  }
}

/* Tray Column */
.tray-column {
  flex: 5;
  display: flex;
  flex-direction: column;
  min-height: 0;
  justify-content: space-between;
  overflow: hidden;
}

.piece-tray-card {
  flex: 1;
  background: var(--color-glass-card-bg);
  border: 1.5px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 90px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-parchment-border) transparent;
}

.piece-tray-card::-webkit-scrollbar {
  width: 5px;
}

.piece-tray-card::-webkit-scrollbar-track {
  background: transparent;
}

.piece-tray-card::-webkit-scrollbar-thumb {
  background: var(--color-parchment-border);
  border-radius: 4px;
}

.tray-pieces-grid {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: auto 0;
}

.tray-piece-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  position: relative;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tray-piece-wrapper:hover {
  transform: scale(1.1);
  z-index: 5;
}

.tray-piece-wrapper.selected {
  outline: 2.5px solid var(--color-olive-green);
  outline-offset: 2px;
  border-radius: 8px;
  transform: scale(1.12);
  z-index: 6;
}

.tray-piece-wrapper.is-dragging {
  opacity: 0.25;
  transform: scale(0.9);
}

.tray-piece-canvas {
  display: block;
  pointer-events: none;
}

.tray-status-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-olive-dark);
  text-align: center;
  margin: auto 0;
}

/* Floating Drag Ghost */
.floating-drag-ghost {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1000;
  will-change: transform;
  transform: translate3d(-9999px, -9999px, 0);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  transform-origin: center center;
}

/* Footer Controls (Timer + Progress) */
.game-footer-controls {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  color: var(--color-title-dark);
  font-weight: 800;
  transition: color 0.3s ease;
}

.timer-row.urgent {
  color: var(--color-error);
  animation: pulseUrgent 1s infinite alternate ease-in-out;
}

@keyframes pulseUrgent {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}

.timer-display {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
}

.timer-label {
  font-size: 13.5px;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(212, 194, 163, 0.6);
  border: 1px solid rgba(199, 177, 142, 0.5);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, var(--color-olive-light), var(--color-olive-green), var(--color-olive-dark));
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(110, 139, 44, 0.4);
  transition: width 0.3s linear;
}

/* ==========================================================================
   3. VICTORY & COMPLETED VIEW
   ========================================================================== */
.completed-content-layout {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px 16px 20px 16px;
  z-index: 10;
}

.victory-card-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  gap: 16px;
}

.completed-portrait-frame {
  position: relative;
  width: 215px;
  height: 255px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  border-radius: 12px;
  overflow: hidden;
}

.portrait-parchment-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.portrait-inner-box {
  position: relative;
  width: 86%;
  height: 86%;
  border-radius: 6px;
  overflow: hidden;
  z-index: 1;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landmark-bio-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-top: 14px;
}

.landmark-ribbon-banner {
  position: relative;
  width: 270px;
  height: 56px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ribbon-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.ribbon-text-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landmark-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}

.landmark-honorific {
  font-size: 11.5px;
  font-weight: 600;
  color: #ECD79B;
  line-height: 1.1;
}

.landmark-bio-body {
  position: relative;
  margin-top: -24px;
  padding: 34px 22px 18px 22px;
  background: rgba(237, 230, 216, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  z-index: 1;
}

.landmark-desc {
  font-size: 14.5px;
  line-height: 1.65;
  font-weight: 600;
  text-align: center;
  color: var(--color-title-dark);
}

.victory-stats {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-olive-dark);
  text-align: center;
}

.victory-actions {
  margin-top: 8px;
  margin-bottom: 24px;
}

.btn-return-home {
  background: rgba(239, 231, 216, 0.95);
  border: 1.5px solid var(--color-parchment-border);
  border-radius: var(--radius-md);
  padding: 12px 36px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-title-dark);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-return-home:hover {
  transform: scale(1.05);
  background: #FFFFFF;
}

.btn-return-home:active {
  transform: scale(0.95);
}

/* ==========================================================================
   4. MODALS & DIALOGS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(47, 36, 23, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-dialog-card {
  background: var(--color-parchment-base);
  border: 2px solid var(--color-parchment-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  width: 100%;
  max-width: 440px;
  padding: 24px;
  animation: modalScaleUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

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

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-title-dark);
  text-align: center;
}

.modal-subtitle {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-subtitle-dark);
  text-align: center;
  margin-top: 4px;
  margin-bottom: 18px;
}

.difficulty-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.difficulty-card-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-glass-card-bg);
  border: 1.2px solid var(--color-parchment-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-family);
  text-align: right;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.difficulty-card-btn:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  border-color: var(--color-gold-accent);
}

.diff-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-easy { background: rgba(110, 139, 44, 0.15); color: var(--color-olive-green); }
.diff-medium { background: rgba(207, 171, 52, 0.15); color: var(--color-gold-accent); }
.diff-hard { background: rgba(192, 86, 33, 0.15); color: #C05621; }
.diff-expert { background: rgba(183, 50, 37, 0.15); color: var(--color-error); }

.diff-text-box {
  flex: 1;
}

.diff-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-title-dark);
}

.diff-desc {
  font-size: 12px;
  color: var(--color-text-muted);
}

.diff-arrow {
  color: var(--color-text-muted);
}

/* Game Over Dialog */
.text-center { text-align: center; }
.color-error { color: var(--color-error); }

.gameover-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(183, 50, 37, 0.12);
  color: var(--color-error);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}

.gameover-stats {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-body);
  margin-top: 8px;
  margin-bottom: 22px;
}

.gameover-actions-row {
  display: flex;
  gap: 12px;
}

.btn-modal-primary {
  flex: 1;
  background: var(--color-olive-green);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-modal-primary:hover {
  background: var(--color-olive-light);
  transform: scale(1.02);
}

.btn-modal-secondary {
  flex: 1;
  background: transparent;
  color: var(--color-title-dark);
  border: 1.5px solid var(--color-parchment-border);
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-modal-secondary:hover {
  background: #FFFFFF;
  transform: scale(1.02);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(243, 234, 219, 0.85);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-box {
  background: var(--color-glass-card-bg);
  border: 1.5px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  color: var(--color-title-dark);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 4px solid rgba(110, 139, 44, 0.2);
  border-top-color: var(--color-olive-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Home Leaderboard Button */
.btn-home-leaderboard {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-glass-card-bg);
  border: 1.5px solid var(--color-parchment-border);
  border-radius: var(--radius-md);
  padding: 10px 24px;
  font-family: var(--font-family);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-title-dark);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  margin-top: 12px;
  transition: all 0.2s ease;
}

.btn-home-leaderboard:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  border-color: var(--color-gold-accent);
  box-shadow: var(--shadow-medium);
}

/* Victory Rank Badge */
.victory-rank-badge {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(207, 171, 52, 0.2), rgba(232, 202, 101, 0.3));
  border: 1.5px solid var(--color-gold-accent);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  color: #7A5B10;
  text-align: center;
}

/* Registration Form */
.form-group {
  margin-bottom: 16px;
  text-align: right;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-title-dark);
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-parchment-border);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 14px;
  background: #FFFFFF;
  color: var(--color-text-body);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--color-olive-green);
  box-shadow: 0 0 0 3px rgba(110, 139, 44, 0.15);
}

.alert-box {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: 14px;
  text-align: center;
}

.alert-error {
  background: rgba(183, 50, 37, 0.1);
  color: var(--color-error);
  border: 1px solid rgba(183, 50, 37, 0.3);
}
