:root {
      --primary-color: #4e73df;
      --primary-light: #9bb8ff;
      --secondary-color: #1cc88a;
      --secondary-light: #7ae0b7;
      --warning-color: #f6c23e;
      --warning-light: #f9d78c;
      --info-color: #36b9cc;
      --info-light: #80d6e5;
      --danger-color: #e74a3b;
      --dark-color: #2c3e50;
      --light-color: #f8f9fc;
      --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    body {
      background-color: var(--light-color);
    }

    .sidebar {
      background: linear-gradient(180deg, var(--primary-color) 0%, #224abe 100%);
      min-height: 100vh;
      height: 100%;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      width: 220px;
      box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
      overflow-y: auto;
      z-index: 1000;
    }

    .sidebar .nav-link {
      color: rgba(255, 255, 255, 0.8);
      padding: 1rem;
      margin: 0.2rem 0;
      border-radius: 0.35rem;
      transition: all 0.3s;
    }

    .sidebar .nav-link:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.1);
    }

    .sidebar .nav-link.active {
      color: #fff;
      background: rgba(255, 255, 255, 0.2);
    }

    .sidebar .nav-link i {
      margin-right: 0.5rem;
    }

    .sidebar .nav-link.text-danger {
      color: #fff !important;
    }

    .sidebar .text-center h6,
    .sidebar .text-center small {
      color: white !important;
    }

    .initials-circle {
      width: 80px;
      height: 80px;
      background-color: rgba(255, 255, 255, 0.2);
      /* Semi-transparent white */
      color: white;
      font-size: 2rem;
      font-weight: bold;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 0.5rem auto;
    }

    .stat-card {
      border: none;
      border-radius: 16px;
      transition: var(--transition);
      overflow: hidden;
      position: relative;
      background: white;
      box-shadow: var(--card-shadow);
      border-left: 4px solid transparent;
      height: 100%;
    }

    .stat-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      opacity: 0;
      transition: var(--transition);
    }

    .stat-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
    }

    .stat-card:hover::before {
      opacity: 1;
    }

    .stat-card.primary {
      border-left-color: var(--primary-color);
    }

    .stat-card.warning {
      border-left-color: var(--warning-color);
    }

    .stat-card.info {
      border-left-color: var(--info-color);
    }

    .stat-card .card-body {
      padding: 1.5rem;
      position: relative;
      z-index: 1;
    }

    .stat-card .flex-shrink-0 i {
      width: 60px;
      height: 60px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.75rem;
      transition: var(--transition);
    }

    .stat-card.primary .flex-shrink-0 i {
      background: rgba(78, 115, 223, 0.1);
      color: var(--primary-color);
    }

    .stat-card.warning .flex-shrink-0 i {
      background: rgba(246, 194, 62, 0.1);
      color: var(--warning-color);
    }

    .stat-card.info .flex-shrink-0 i {
      background: rgba(54, 185, 204, 0.1);
      color: var(--info-color);
    }

    .stat-card:hover .flex-shrink-0 i {
      transform: scale(1.1);
    }

    .stat-card .card-title {
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      margin-bottom: 0.5rem;
      color: #6c757d;
    }

    .stat-card .card-text {
      font-size: 1.75rem;
      font-weight: 700;
      margin: 0;
      color: var(--dark-color);
      line-height: 1.2;
    }

    .stat-card.primary .card-text {
      color: var(--primary-color);
    }

    .stat-card.warning .card-text {
      color: var(--warning-color);
    }

    .stat-card.info .card-text {
      color: var(--info-color);
    }

    .stat-card.info {
      border-left-color: var(--info-color);
    }

    .card {
      border: none;
      border-radius: 0.5rem;
      box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
      transition: transform 0.2s;
    }

    .card:hover {
      transform: translateY(-3px);
    }

    .table {
      border-radius: 0.5rem;
      overflow: hidden;
    }

    .table thead th {
      background-color: var(--light-color);
      border-bottom: 2px solid #e3e6f0;
    }

    .badge {
      padding: 0.5em 0.75em;
      font-weight: 500;
    }

    
    /* Custom styles for prediction details card */
    .prediction-details-modal {
      max-width: 95vw !important;
      width: 95vw !important;
    }

    .prediction-details-modal .swal2-popup {
      padding: 2rem !important;
      width: 95vw !important;
    }

    .prediction-details-modal .card {
      margin: 0 !important;
    }

    .prediction-details-modal .card-body {
      padding: 2rem !important;
    }

    .prediction-details-modal .row {
      margin: 0 -1rem;
      display: flex;
      flex-direction: row;
      align-items: stretch;
    }

    .prediction-details-modal .col-md-6 {
      padding: 0 1rem;
      flex: 1;
    }

    .prediction-details-modal .alert {
      font-size: 1.2rem;
      padding: 1.5rem 2rem;
      margin-top: 2rem;
    }

    .prediction-details-modal .location-info {
      font-size: 1.2rem;
    }

    .prediction-details-modal .location-info h6 {
      font-size: 1rem;
    }

    .prediction-details-modal .input-params {
      height: 100%;
    }

    .prediction-details-modal .input-params .card {
      height: 100%;
    }

    .prediction-details-modal .input-params .card-body {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .prediction-details-modal .input-params .d-flex {
      font-size: 1.1rem;
      margin-bottom: 1rem;
    }

    .prediction-details-modal .input-params strong {
      font-size: 1.2rem;
    }

    .prediction-details-modal .card-header {
      background: linear-gradient(135deg, var(--primary-color) 0%, #224abe 100%);
      color: white;
      padding: 1.5rem 2rem;
      border-bottom: none;
    }

    .prediction-details-modal .card-header h5 {
      margin: 0;
      font-size: 1.5rem;
      font-weight: 500;
    }

    .prediction-details-modal .card-header .subtitle {
      opacity: 0.9;
      font-size: 1.1rem;
      margin-top: 0.5rem;
    }

    /* Custom styles for the month select dropdown */
    .form-floating>.form-select {
      padding-top: 1.625rem;
      padding-bottom: 0.625rem;
    }

    .form-floating>label {
      padding: 1rem .75rem;
    }

    .input-group .form-select {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }

    .input-group-text+.form-floating>.form-select {
      border-top-left-radius: var(--bs-border-radius);
      border-bottom-left-radius: var(--bs-border-radius);
      border-left-width: 0;
    }

    .input-group-text {
      height: calc(3.5rem + 2px);
    }

    /* Enhanced dashboard styles */
    .quick-action-card {
      border: none;
      border-radius: 12px;
      transition: var(--transition);
      cursor: pointer;
      text-align: center;
      padding: 2rem 1rem;
      background: white;
      box-shadow: var(--card-shadow);
    }

    .quick-action-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .quick-action-card i {
      font-size: 3rem;
      margin-bottom: 1rem;
    }

    .activity-item {
      padding: 1rem;
      border-left: 3px solid transparent;
      margin-bottom: 0.5rem;
      transition: var(--transition);
    }

    .activity-item:hover {
      background: var(--light-color);
      border-left-color: var(--primary-color);
    }

    .activity-item.success {
      border-left-color: var(--secondary-color);
    }

    .activity-item.danger {
      border-left-color: var(--danger-color);
    }

    .chart-container {
      position: relative;
      height: 300px;
    }

    .weather-widget {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border-radius: 12px;
      padding: 2rem;
    }

    .weather-widget h5,
    .weather-widget p {
      color: white !important;
    }

    .recent-predictions-table {
      font-size: 0.9rem;
    }

    .recent-predictions-table .badge {
      font-size: 0.75rem;
    }

    .nav-tabs .nav-link {
      color: #6c757d;
      border: none;
      padding: 0.75rem 1.5rem;
    }

    .nav-tabs .nav-link.active {
      color: var(--primary-color);
      background: transparent;
      border-bottom: 3px solid var(--primary-color);
    }