/* ==========================================================================
   NIEdge ONE Flagship Portal - Refactored Light Warm Theme Stylesheet
   Inherits the exact visual DNA of the core NIEdge application
   ========================================================================== */

/* Design Tokens - Matching NIEdge Core Style */
:root {
  --primary-color: #FFC107;
  --primary-dark: #FF8F00;
  --primary-light: #FFF9C4;
  --accent-color: #795548;
  --dark-color: #212121;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --gray: #757575;
  --gradient-1: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
  --gradient-2: linear-gradient(135deg, #FF8F00 0%, #FFC107 100%);
  --shadow-light: 0 8px 25px rgba(255, 193, 7, 0.15);
  --shadow-medium: 0 15px 35px rgba(255, 193, 7, 0.25);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.1);
  
  /* Status Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base resets & layout settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-color);
  color: var(--dark-color);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.6;
}

/* Animated background - Identical to existing pages */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background-color: var(--light-color);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.shape-1 {
  top: 10%;
  left: 10%;
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
}

.shape-2 {
  top: 70%;
  left: 80%;
  width: 40px;
  height: 40px;
  background: var(--gradient-2);
  border-radius: 50%;
  animation-delay: -5s;
}

.shape-3 {
  top: 20%;
  left: 60%;
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: -10s;
}

.shape-4 {
  top: 60%;
  left: 20%;
  width: 50px;
  height: 50px;
  background: var(--primary-dark);
  border-radius: 10px;
  animation-delay: -15s;
}

.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 24%, rgba(255, 193, 7, 0.03) 25%, rgba(255, 193, 7, 0.03) 26%, transparent 27%, transparent 74%, rgba(255, 193, 7, 0.03) 75%, rgba(255, 193, 7, 0.03) 76%, transparent 77%, transparent),
    linear-gradient(0deg, transparent 24%, rgba(255, 193, 7, 0.03) 25%, rgba(255, 193, 7, 0.03) 26%, transparent 27%, transparent 74%, rgba(255, 193, 7, 0.03) 75%, rgba(255, 193, 7, 0.03) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

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

/* Glass panel elements renamed to standard light Cards */
.glass-container {
  max-width: 1200px;
  margin: 130px auto 60px;
  padding: 0 20px;
  z-index: 2;
  position: relative;
  animation: fadeInUp 0.8s ease;
}

.glass-panel {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  padding: 40px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-light);
}

/* Buttons - Matches Academics explore style */
.btn-primary {
  background: var(--primary-dark);
  color: var(--white);
  border: 2px solid transparent;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  font-family: inherit;
  text-decoration: none;
  justify-content: center;
  box-shadow: var(--shadow-light);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  font-family: inherit;
  text-decoration: none;
  justify-content: center;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Form inputs & selections matching feedback styles */
.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  color: var(--dark-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.3);
}

/* Stepper Setup - Clean light tabs */
.stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
}

.stepper-step.active {
  color: var(--primary-dark);
  border-color: var(--primary-color);
  background: var(--primary-light);
}

.stepper-progress {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.stepper-progress-fill {
  height: 100%;
  background: var(--gradient-1);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.onboarding-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.onboarding-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.onboarding-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.step-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.step-content.active {
  display: block;
}

.validation-error {
  color: var(--color-danger);
  font-size: 0.8rem;
  margin-top: 8px;
  text-align: left;
  display: none;
}

.stepper-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
  gap: 16px;
}

.stepper-actions button {
  flex: 1 1 120px;
  min-height: 44px;
}

/* Dashboard Hub Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

/* Dashboard Card Elements (Matches Subject Choice Cards) */
.dash-card {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 24px;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.dash-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-card-icon {
  font-size: 1.3rem;
  background: var(--primary-light);
  padding: 8px;
  border-radius: 10px;
  color: var(--primary-dark);
}

.dash-card-body {
  flex: 1;
}

.dash-stat {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 10px 0;
  color: var(--dark-color);
  letter-spacing: -0.5px;
}

.dash-stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}

/* Header Welcome Banner (Soft Yellow Highlight alert style) */
.welcome-banner {
  background: var(--primary-light);
  border: 2.5px solid rgba(255, 193, 7, 0.3);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.welcome-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.welcome-info p {
  color: var(--dark-color);
  font-weight: 500;
}

.welcome-badge {
  background: var(--primary-dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 10px;
}

/* Quick Actions Grid */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.action-tile {
  background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 20px 15px;
  text-align: center;
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.action-tile:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-light);
}

.action-tile-icon {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: block;
}

.action-tile-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* State Messages styling */
.state-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}

.state-icon {
  font-size: 3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.state-icon.error {
  color: var(--color-danger);
}

.state-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.state-description {
  color: var(--gray);
  max-width: 400px;
  font-size: 0.95rem;
}

/* Attendance Module */
.attendance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.attendance-card {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.attendance-progress-circle {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attendance-percentage {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

.attendance-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1.5px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 0.85rem;
}

.attendance-meta-item span {
  display: block;
  color: var(--gray);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.attendance-meta-item strong {
  font-size: 1.05rem;
  color: var(--dark-color);
}

/* Status Indicators */
.attendance-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-safe {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1.5px solid rgba(239, 68, 68, 0.25);
}

.margin-text {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
}

.margin-text.safe { color: #047857; }
.margin-text.danger { color: #b91c1c; }
.margin-text.warning { color: #b45309; }

/* Accordion tables for semesters */
.sem-accordion {
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  transition: var(--transition-smooth);
}

.sem-accordion-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.sem-accordion-header:hover {
  background: rgba(255, 193, 7, 0.05);
}

.sem-accordion-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sem-accordion-toggle {
  font-size: 0.95rem;
  color: var(--gray);
  transition: transform 0.3s ease;
}

.sem-accordion.open {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-light);
}

.sem-accordion.open .sem-accordion-toggle {
  transform: rotate(180deg);
}

.sem-accordion-content {
  display: none;
  padding: 24px;
  border-top: 1.5px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.01);
}

.sem-accordion.open .sem-accordion-content {
  display: block;
}

.results-table-wrapper {
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.results-table th, .results-table td {
  padding: 14px 16px;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.05);
}

.results-table th {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-table td {
  color: var(--dark-color);
}

.results-table tr:last-child td {
  border-bottom: none;
}

/* Accordion badges */
.grade-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-block;
}

.grade-S { background: rgba(16, 185, 129, 0.12); color: #047857; }
.grade-A { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.grade-B { background: rgba(139, 92, 246, 0.12); color: #6d28d9; }
.grade-C { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.grade-D { background: rgba(249, 115, 22, 0.12); color: #c2410c; }
.grade-E { background: rgba(107, 114, 128, 0.12); color: #374151; }
.grade-F { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

/* Profile Banner Styles - SECTION 1 */
.profile-banner {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.profile-banner:hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-light);
}

.profile-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.2rem;
  box-shadow: var(--shadow-light);
  flex-shrink: 0;
}

.profile-info {
  flex-grow: 1;
}

.profile-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 6px;
}

.profile-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.profile-badge-row .welcome-badge {
  margin-top: 0;
  font-size: 0.72rem;
  padding: 4px 12px;
}

.profile-badge-row .welcome-badge.badge-alt {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(255, 193, 7, 0.25);
}

.profile-details {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray);
}

.profile-details span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-details span i {
  color: var(--primary-dark);
}

.profile-details strong {
  color: var(--dark-color);
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.profile-actions button {
  width: 160px;
}

/* Responsive adjustments */
/* Desktop columns: standard 12-column grid spans */
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Tablet Layout (2-column feel) */
@media (max-width: 968px) and (min-width: 601px) {
  .col-3, .col-4, .col-6 {
    grid-column: span 6; /* 2 columns on tablet */
  }
  .col-8, .col-12 {
    grid-column: span 12; /* 1 column on tablet */
  }
  
  .glass-panel {
    padding: 28px;
  }
  
  .welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
  
  .profile-grid {
    flex-direction: column;
    text-align: center;
  }
  .profile-avatar {
    margin: 0 auto;
  }
  .profile-badge-row {
    justify-content: center;
  }
  .profile-details {
    justify-content: center;
    gap: 12px;
  }
  .profile-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
  }
  .profile-actions button {
    flex: 1;
    width: auto;
  }
}

/* Mobile Layout (1-column feel) */
@media (max-width: 600px) {
  .col-3, .col-4, .col-6, .col-8, .col-12 {
    grid-column: span 12; /* 1 column on mobile */
  }
  
  .glass-panel {
    padding: 20px;
  }
  
  .welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .profile-grid {
    flex-direction: column;
    text-align: center;
  }
  .profile-avatar {
    margin: 0 auto;
  }
  .profile-badge-row {
    justify-content: center;
  }
  .profile-details {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .profile-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }
  .profile-actions button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .glass-container {
    margin-top: 110px;
    padding: 0 16px;
  }
  
  .stepper-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .onboarding-title {
    font-size: 1.5rem;
  }
  
  .dash-stat {
    font-size: 2rem;
  }
  
  .results-table th, .results-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   SEE Target Guide Component Styles
   ========================================================================== */
#calculator-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.calc-card {
  display: flex;
  flex-direction: column;
  padding: 24px !important;
  border-radius: 16px;
  background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.calc-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.calc-card-header {
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 12px;
}

.course-code-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calc-card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.02);
  padding: 12px 16px;
  border-radius: 10px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-color);
}

.metric-value small {
  font-size: 0.78rem;
  font-weight: 500;
}

.highlight-blue {
  color: var(--color-info) !important;
}

.highlight-amber {
  color: var(--primary-dark) !important;
}

.best-grade-banner {
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.2);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gp-targets-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gp-target-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.gp-label {
  font-weight: 600;
  color: var(--dark-color);
}

.gp-value {
  font-weight: 700;
}

/* Row-specific colors based on target difficulty */
.gp-target-row.target-easy {
  background: rgba(16, 185, 129, 0.06);
  border: 1px dashed rgba(16, 185, 129, 0.2);
}
.gp-target-row.target-easy .gp-value {
  color: var(--color-success);
}

.gp-target-row.target-medium {
  background: rgba(245, 158, 11, 0.06);
  border: 1px dashed rgba(245, 158, 11, 0.2);
}
.gp-target-row.target-medium .gp-value {
  color: var(--color-warning);
}

.gp-target-row.target-hard {
  background: rgba(239, 68, 68, 0.06);
  border: 1px dashed rgba(239, 68, 68, 0.2);
}
.gp-target-row.target-hard .gp-value {
  color: var(--color-danger);
}

.gp-target-row.target-impossible {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.gp-target-row.target-impossible .gp-value {
  color: var(--gray);
  font-weight: 500;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  #calculator-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .calc-card-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

