/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./app/dashboard.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
/* DAMOCLES Dashboard Specific Styles */

/* Fix main layout alignment */
.dashboard_dashboardWrapper___y7o_ {
  display: flex;
  min-height: 100vh;
  background: #f9fafb;
}

.dashboard_sidebar__uKs9N {
  width: 256px;
  background: white;
  border-right: 1px solid #e5e7eb;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
}

.dashboard_mainContent__6iaR4 {
  margin: auto;
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
  width: 100%;
}

/* Fix metric cards */
.dashboard_metricGrid__MOUGf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard_metricCard__kiJPT {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.dashboard_metricValue__3RQhV {
  font-size: 2rem;
  font-weight: 700;
  color: #111827 !important;
  margin: 0.5rem 0;
}

.dashboard_metricLabel__iSXak {
  color: #6b7280 !important;
  font-size: 0.875rem;
  font-weight: 500;
}

.dashboard_metricChange__1uDCn {
  font-size: 0.75rem;
  color: #059669 !important;
}

.dashboard_metricChange__1uDCn.dashboard_negative__fdLKH {
  color: #dc2626 !important;
}

/* Fix chart container */
.dashboard_chartContainer__ejjo1 {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  /* min-height: 400px; */
}

/* Fix text visibility - enforce with !important */
.dashboard_dashboardWrapper___y7o_ h1,
.dashboard_dashboardWrapper___y7o_ h2,
.dashboard_dashboardWrapper___y7o_ h3,
.dashboard_dashboardWrapper___y7o_ h4 {
  color: #111827 !important;
  font-weight: 600;
}

.dashboard_dashboardWrapper___y7o_ p {
  color: #4b5563 !important;
  line-height: 1.6;
}

/* Fix Tremor components specifically */
.dashboard_dashboardWrapper___y7o_ .dashboard_tremor-Title-root__ZRv15 {
  color: #111827 !important;
  font-weight: 600;
}

.dashboard_dashboardWrapper___y7o_ .dashboard_tremor-Text-root__sZq_8 {
  color: #4b5563 !important;
}

.dashboard_dashboardWrapper___y7o_ .dashboard_tremor-Metric-root__Wc19G {
  color: #111827 !important;
  font-weight: 700;
}

/* Fix activity feed */
.dashboard_activityItem__FKzDP {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard_activityText__sM_oX {
  color: #374151 !important;
  font-size: 0.875rem;
}

.dashboard_activityDate__5Ctxv {
  color: #9ca3af !important;
  font-size: 0.75rem;
}

/* Fix buttons */
.dashboard_btnPrimary__9ojsr {
  background: #4f46e5;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.dashboard_btnPrimary__9ojsr:hover {
  background: #4338ca;
}

/* Quick action cards */
.dashboard_quickActions__PsJ1a {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.dashboard_actionCard__wOmwz {
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  color: #374151 !important;
}

.dashboard_actionCard__wOmwz:hover {
  border-color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive fixes */
@media (max-width: 1024px) {
  .dashboard_mainContent__6iaR4 {
    margin-left: 0;
    padding: 1rem;
  }

  .dashboard_sidebar__uKs9N {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .dashboard_sidebar__uKs9N.dashboard_open__iCoBs {
    transform: translateX(0);
  }

  .dashboard_metricGrid__MOUGf {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .dashboard_mainContent__6iaR4 {
    padding: 0.5rem;
  }

  .dashboard_metricCard__kiJPT {
    padding: 1rem;
  }

  .dashboard_chartContainer__ejjo1 {
    /* height: 300px; */
    padding: 1rem;
  }
}
