/* Modern Minimalist CSS - Green Color Palette */

/* Color Palette Variables */
:root {
  /* Green Palette */
  --primary-green: #10b981;      /* emerald-500 */
  --primary-green-dark: #047857;  /* emerald-700 */
  --primary-green-light: #34d399; /* emerald-400 */
  --secondary-green: #065f46;     /* emerald-800 */
  --accent-green: #d1fae5;        /* emerald-100 */
  --soft-green: #f0fdf4;          /* emerald-50 */
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--gray-50);
  font-size: 14px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header/Navigation */
.navbar {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

.navbar-brand:hover {
  color: var(--primary-green-dark);
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15);
}

.navbar-brand:hover {
  text-decoration: none;
  color: var(--primary-green-dark);
}

.navbar-brand i {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-brand i {
  font-size: 1.5rem;
}

.brand-text {
  font-weight: 600;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--gray-600);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: var(--primary-green);
  background-color: var(--accent-green);
}

.nav-link.active {
  color: var(--primary-green);
  background-color: var(--accent-green);
}

/* User Info in Navbar */
.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem;
}

.user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.user-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-name {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.875rem;
  line-height: 1.2;
}

.user-role {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: capitalize;
  line-height: 1;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.dropdown-toggle:hover {
  background-color: var(--primary-50);
}

.dropdown-toggle:after {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: 0.125em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.2s ease;
}

.dropdown.show .dropdown-toggle:after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  display: none;
  min-width: 200px;
  padding: 0.5rem 0;
  margin: 0.5rem 0 0;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dropdown-menu.show {
  display: block;
  animation: dropdownFadeIn 0.2s ease-out;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  clear: both;
  font-weight: 400;
  color: var(--gray-700);
  text-decoration: none;
  background-color: transparent;
  border: 0;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  color: var(--primary-600);
  background-color: var(--primary-50);
}

.dropdown-item.text-danger {
  color: var(--red-600);
}

.dropdown-item.text-danger:hover {
  color: var(--red-700);
  background-color: var(--red-50);
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 2rem;
}

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

.card-header {
  background: linear-gradient(135deg, var(--soft-green), var(--accent-green));
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--secondary-green);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header .card-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-body {
  padding: 2rem 1.5rem;
}

.card-body.compact {
  padding: 1rem 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  gap: 0.375rem;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--gray-500);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--gray-600);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-green);
  border: 1px solid var(--primary-green);
}

.btn-outline-primary:hover {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-success {
  background-color: var(--primary-green-light);
  color: var(--white);
}

.btn-danger {
  background-color: #ef4444;
  color: var(--white);
}

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  background-color: var(--white);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  margin-bottom: 0;
}

.table thead th {
  background-color: var(--soft-green);
  color: var(--secondary-green);
  font-weight: 600;
  padding: 1.25rem 1rem;
  text-align: left;
  border: none;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table tbody td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
  font-size: 0.875rem;
}

.table tbody tr {
  transition: all 0.2s ease;
}

.table tbody tr:hover {
  background-color: var(--gray-50);
  transform: translateX(2px);
}

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

/* Table responsive wrapper */
.table-responsive {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success {
  background-color: var(--accent-green);
  border-color: var(--primary-green-light);
  color: var(--secondary-green);
}

.alert-danger {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Statistics Cards */
.stat-card {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  color: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 0 60px;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.95;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Layout */
.main-content {
  padding: 2.5rem 0 4rem 0;
  min-height: calc(100vh - 80px);
}

.page-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-200);
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.page-subtitle {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Section Spacing */
.section {
  margin-bottom: 3rem;
}

.section:last-child {
  margin-bottom: 0;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
  align-items: stretch;
}

.col {
  flex: 1;
  padding: 0 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

/* Statistics Row */
.stats-row {
  margin-bottom: 3rem;
}

.stats-row .col-md-3 {
  margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

/* Login Page Specific */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--soft-green), var(--accent-green));
  padding: 1rem 0;
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  animation: fadeIn 0.6s ease-out;
  margin: auto;
}

.login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-card form {
  margin-bottom: 1rem;
}

.login-card .btn {
  margin-bottom: 1rem;
}

.login-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--secondary-green);
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: var(--gray-600);
}

/* Questionnaire Specific */
.question-card {
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.question-title {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: 2px solid var(--gray-200);
  transition: all 0.2s ease;
  cursor: pointer;
}

.radio-option:hover {
  border-color: var(--primary-green-light);
  background-color: var(--soft-green);
}

.radio-option.selected {
  border-color: var(--primary-green);
  background-color: var(--accent-green);
}

.radio-option input[type="radio"] {
  margin-right: 0.75rem;
  accent-color: var(--primary-green);
}

/* Progress Bar */
.progress {
  width: 100%;
  height: 0.5rem;
  background-color: var(--gray-200);
  border-radius: 0.25rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
  transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .navbar .container {
    padding: 0 0.75rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-brand i {
    font-size: 1.25rem;
  }
  
  .brand-text {
    display: none;
  }
  
  .user-details {
    display: none;
  }
  
  .user-info {
    gap: 0.5rem;
  }
  
  .user-avatar {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
  
  .dropdown-menu {
    min-width: 180px;
    right: -0.5rem;
  }
  
  .main-content {
    padding: 1rem 0 3rem 0;
  }
  
  .page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
  }
  
  .page-header .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }
  
  .col-md-3,
  .col-md-4,
  .col-md-6,
  .col-md-8,
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-card {
    min-height: 120px;
    padding: 1.5rem 1rem;
  }
  
  .login-container {
    min-height: 100vh;
    padding: 0.5rem;
    align-items: flex-start;
    padding-top: 1rem;
  }
  
  .login-card {
    margin: 0;
    padding: 1.25rem;
    max-width: 100%;
  }
  
  .login-header {
    margin-bottom: 1rem;
  }
  
  .login-title {
    font-size: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .quick-actions {
    padding: 0.75rem;
  }
  
  .quick-actions .btn-sm {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
  }
  
  .card-header {
    padding: 1rem;
  }
  
  .table thead th {
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .table tbody td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .row {
    margin: 0 -0.5rem;
  }
  
  .col {
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .page-title {
    font-size: 1.25rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .quick-actions .d-flex {
    flex-direction: column;
  }
  
  .quick-actions .btn-sm {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Quick Actions Bar */
.quick-actions {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.quick-actions .btn-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

/* Chart Container */
.chart-container {
  position: relative;
  height: 300px;
  margin: 1rem 0;
}

/* Empty State */
.empty-state {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--gray-500);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.font-weight-bold { font-weight: 600; }
.text-muted { color: var(--gray-500); }

/* Student Result Page Styles */
.card-result-header {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    border: none;
}

.result-icon {
    font-size: 3rem;
    color: var(--warning-400);
    margin-bottom: 1rem;
}

.result-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.result-date {
    font-size: 0.875rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Dominant Style Card */
.card-dominant-style {
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.card-dominant-style.result-visual {
    border-color: var(--red-300);
    background: linear-gradient(135deg, var(--red-50) 0%, var(--red-100) 100%);
}

.card-dominant-style.result-auditori {
    border-color: var(--blue-300);
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
}

.card-dominant-style.result-kinestetik {
    border-color: var(--primary-300);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
}

.dominant-style-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.card-dominant-style.result-visual .dominant-style-icon {
    color: var(--red-500);
}

.card-dominant-style.result-auditori .dominant-style-icon {
    color: var(--blue-500);
}

.card-dominant-style.result-kinestetik .dominant-style-icon {
    color: var(--primary-500);
}

.dominant-style-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dominant-style-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Score Grid and Cards */
.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.score-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.score-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.score-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.score-visual .score-card-icon {
    background: linear-gradient(135deg, var(--red-500) 0%, var(--red-600) 100%);
}

.score-auditori .score-card-icon {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
}

.score-kinestetik .score-card-icon {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
}

.score-card-content {
    flex: 1;
}

.score-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.score-card-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.score-card-total {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.score-card-progress {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.score-card-progress .progress-bar {
    height: 100%;
    transition: width 0.6s ease;
}

.score-card-percent {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* Tips Section */
.card-tips {
    border: 1px solid var(--primary-200);
}

.tips-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: var(--primary-50);
    transform: translateX(4px);
}

.tip-number {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.tip-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-700);
}

.chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-wrapper {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    display: inline-block;
}

/* Chart Grid for Teacher Results */
.chart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.recommendation-container .card {
    height: 100%;
}

.recommendation-card {
    background: var(--blue-50);
    border-left: 4px solid var(--blue-500);
    padding: 1rem;
    border-radius: 8px;
}

.recommendation-header {
    margin-bottom: 0.75rem;
}

.recommendation-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--blue-700);
    margin-bottom: 0;
}

.recommendation-content p {
    color: var(--blue-600);
    margin-bottom: 0;
    line-height: 1.5;
}

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
}

.action-btn.btn-primary {
    border-color: var(--primary-200);
    color: var(--primary-700);
}

.action-btn.btn-primary:hover {
    border-color: var(--primary-500);
    background: var(--primary-50);
    transform: translateY(-2px);
}

.action-btn.btn-secondary {
    border-color: var(--gray-200);
    color: var(--gray-700);
}

.action-btn.btn-secondary:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
    transform: translateY(-2px);
}

.action-btn.btn-info {
    border-color: var(--blue-200);
    color: var(--blue-700);
}

.action-btn.btn-info:hover {
    border-color: var(--blue-500);
    background: var(--blue-50);
    transform: translateY(-2px);
}

.action-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.action-btn.btn-primary .action-icon {
    background: var(--primary-100);
    color: var(--primary-600);
}

.action-btn.btn-secondary .action-icon {
    background: var(--gray-100);
    color: var(--gray-600);
}

.action-btn.btn-info .action-icon {
    background: var(--blue-100);
    color: var(--blue-600);
}

.action-content {
    text-align: left;
    flex: 1;
}

.action-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

    .action-subtitle {
        font-size: 0.875rem;
        opacity: 0.7;
    }
}

/* Dashboard Specific Components */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--gray-700);
}

.quick-action-btn:hover {
    border-color: var(--primary-300);
    background: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    color: var(--primary-700);
}

.quick-action-primary {
    border-color: var(--primary-200);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
}

.quick-action-primary:hover {
    border-color: var(--primary-500);
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
}

.quick-action-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quick-action-btn:hover .quick-action-icon {
    background: var(--primary-100);
    color: var(--primary-600);
}

.quick-action-primary .quick-action-icon {
    background: var(--primary-100);
    color: var(--primary-600);
}

.quick-action-content {
    flex: 1;
}

.quick-action-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.quick-action-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Background Colors for Icons */
.bg-primary { 
    background: var(--primary-color) !important;
}

.bg-success { 
    background: var(--success-color) !important;
}

.bg-info { 
    background: var(--info-color) !important;
}

.bg-warning { 
    background: var(--warning-color) !important;
}

.bg-danger { 
    background: var(--danger-color) !important;
}

.bg-secondary { 
    background: var(--secondary-color) !important;
}

/* ======================================
   DASHBOARD LAYOUT & COMPONENTS
   ====================================== */

/* Main Layout */
.main-content {
    background: #f8fafc;
    min-height: 100vh;
}

.content-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.content-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* Action Cards */
.action-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.action-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.action-link:hover {
    text-decoration: none;
    color: inherit;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.action-icon i {
    font-size: 1.25rem;
    color: white;
}

.action-content {
    flex: 1;
}

.action-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.action-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.action-arrow {
    margin-left: 0.75rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.action-card:hover .action-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.action-arrow i {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Stats Cards */
.stats-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stats-body {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-icon i {
    font-size: 1.5rem;
    color: white;
}

.stats-info {
    flex: 1;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chart Card */
.chart-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.chart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

.chart-body {
    padding: 1.5rem;
}

.chart-wrapper {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-icon {
    margin-bottom: 1rem;
}

.empty-icon i {
    font-size: 3rem;
    color: #cbd5e1;
}

.empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-text {
    color: var(--text-secondary);
    margin: 0;
}

/* Results Card */
.results-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.results-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.results-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

.results-body {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.result-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.result-school {
    font-weight: 500;
}

.result-class {
    color: var(--text-muted);
}

.result-badge {
    margin: 0 0.75rem;
    flex-shrink: 0;
}

.result-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    min-width: 60px;
    flex-shrink: 0;
}

.results-empty {
    text-align: center;
    padding: 2.5rem 1rem;
}

.results-empty .empty-icon {
    margin-bottom: 1rem;
}

.results-empty .empty-icon i {
    font-size: 2.5rem;
    color: #cbd5e1;
}

.results-empty .empty-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.results-empty .empty-text {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-number {
        font-size: 1.75rem;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
    }
    
    .stats-icon i {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .content-header {
        padding: 1rem 0;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .action-link {
        padding: 1.25rem;
    }
    
    .action-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }
    
    .action-icon i {
        font-size: 1rem;
    }
    
    .stats-body {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .stats-icon {
        width: 44px;
        height: 44px;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
    
    .chart-body {
        padding: 1.25rem;
    }
    
    .chart-wrapper {
        height: 300px;
    }
    
    .results-header {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .results-body {
        padding: 1.25rem;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .result-badge,
    .result-date {
        margin: 0;
        align-self: flex-end;
    }
}

/* Responsive adjustments for dashboard */
@media (max-width: 768px) {
    .chart-analytics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .quick-action-btn {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .recent-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .result-style, .result-date {
        margin: 0;
        align-self: flex-end;
    }
}/* Progress Mini for Score Displays */
.progress-mini {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.progress-mini .progress-bar {
    height: 100%;
    transition: width 0.6s ease;
}

/* Score Display Component */
.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

/* Alert Styles */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
}

.alert-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 0.25rem;
}

.alert-message {
    color: var(--primary-600);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .chart-grid {
        grid-template-columns: 1fr;
    }
    
    .score-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .score-card {
        flex-direction: column;
        text-align: center;
    }
    
    .action-btn {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Dashboard Spacing Utilities */
.dashboard-section {
    margin-bottom: 2.5rem;
}

.row-gap-4 {
    row-gap: 1.5rem;
}

.col-gap-4 {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
}