/* ==========================================================================
   Skill Guide - Base & Shared Styles
   ========================================================================== */

/* Global Typography Constraint: Times New Roman as mandated in original Stitch designs */
*:not(.cv-pro-wrapper):not(.cv-pro-wrapper *):not(#cv-pro-sheet):not(#cv-pro-sheet *) {
  font-family: 'Times New Roman', Times, serif !important;
}

.cv-pro-wrapper,
.cv-pro-wrapper *,
#cv-pro-sheet,
#cv-pro-sheet * {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Material Symbols Outlined font rule with high specificity and ligature support */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

input::placeholder,
textarea::placeholder {
  font-family: 'Times New Roman', Times, serif !important;
  opacity: 0.55;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  display: none;
}
html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Base resets */
@layer base {
  html, body {
    margin: 0;
    padding: 0;
  }
  body {
    overscroll-behavior: none;
  }
}

/* Custom form and interaction utilities */
.custom-checkbox {
  accent-color: #0A9D5D;
}

.glow-hover {
  transition: all 0.25s ease;
}
.glow-hover:hover {
  box-shadow: 0 4px 20px rgba(10, 157, 93, 0.4);
}

.gold-glow {
  box-shadow: 0 0 30px rgba(231, 195, 90, 0.3);
}

.required-star {
  color: #EF4444;
  margin-left: 2px;
  font-weight: 700;
}

.badge-gold {
  background-color: #FFF9E6;
  border: 1px solid #F5D76E;
  color: #785404;
}

/* Smooth route transition */
.page-enter {
  animation: fadeIn 0.25s ease-out forwards;
}

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