/* SIGURWA Custom Style Palette */
:root {
  --primary-color: #0f4c81;
  --primary-hover: #0a355c;
  --secondary-color: #00a896;
  --accent-color: #f4a261;
  --dark-color: #1d3557;
  --light-bg: #f8f9fa;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f4f6f9;
  color: #333;
}

/* Navbar */
.navbar-sigurwa {
  background: linear-gradient(135deg, #002b49 0%, #0f4c81 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.navbar-sigurwa .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}
.navbar-sigurwa .nav-link:hover,
.navbar-sigurwa .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f4c81 0%, #00a896 100%);
  color: white;
  padding: 4rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(30%, 30%);
}

/* Feature Cards */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.badge-jurus {
  background-color: var(--secondary-color);
  color: white;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Sidebar Dashboard Symmetrical Alignment */
.sidebar {
  min-height: calc(100vh - 60px);
  background: #ffffff;
  border-right: 1px solid #e9ecef;
  box-shadow: 2px 0 5px rgba(0,0,0,0.02);
}
.sidebar .nav-link {
  color: #495057;
  font-weight: 500;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  margin-bottom: 2px;
}
.sidebar .nav-link:hover {
  background: #f1f5f9;
  color: var(--primary-color);
}
.sidebar .nav-link.active {
  background: #eef6fc;
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  font-weight: 600;
}

/* Symmetrical Fixed Width Icon Container */
.sidebar .nav-link i.nav-icon {
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.sidebar .nav-link:hover i.nav-icon {
  color: var(--primary-color);
}
.sidebar .nav-link.active i.nav-icon {
  color: var(--primary-color);
}

/* Admin Grid Menu Box Alignment */
.admin-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* RIASEC Quiz Styling */
.riasec-card {
  border-left: 5px solid var(--secondary-color);
}

/* Status Badges */
.badge-terkirim { background-color: #ffc107; color: #212529; }
.badge-diproses { background-color: #17a2b8; color: #fff; }
.badge-selesai { background-color: #28a745; color: #fff; }

/* Print Mode for 2 JTM Report */
@media print {
  body {
    background: #fff !important;
    font-size: 12pt;
  }
  .no-print, .navbar, .sidebar, .footer, .btn, form {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .container, .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .card {
    border: none !important;
    box-shadow: none !important;
  }
}

/* Mobile Navigation & Responsive Enhancements */
@media (max-width: 767.98px) {
  body.logged-in-user {
    padding-bottom: 75px !important;
  }
  
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1040;
    border-top: 1px solid #e2e8f0;
  }
  
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    width: 20%;
    padding: 6px 0;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
  }
  
  .mobile-nav-item i {
    font-size: 18px;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
  }
  
  .mobile-nav-item.active {
    color: #0f4c81;
    font-weight: 700;
  }
  
  .mobile-nav-item.active i {
    transform: translateY(-2px);
    color: #0f4c81;
  }

  .mobile-quick-card {
    border-radius: 16px !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .mobile-quick-card:active {
    transform: scale(0.97);
  }
}
