:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --success: #22c55e;
  --danger: #ef4444;
}

body {
  background-color: var(--bg-color);
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-main);
  margin: 0;
  padding: 20px;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styling */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.main-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Layout Grid */
.grid-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 25px;
}

@media (max-width: 900px) {
  .grid-layout { grid-template-columns: 1fr; }
}

/* Card Component */
.card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

.card h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Forms */
.modern-form .form-group {
  margin-bottom: 15px;
}

.modern-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 0.95rem;
}

.modern-form input:focus {
  outline: none;
  border-color: var(--primary);
  ring: 2px solid var(--primary-hover);
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
  width: 100%;
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  margin-left: 10px;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  background: #f1f5f9;
  padding: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.badge {
  background: #e0e7ff;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.text-low { color: var(--danger); font-weight: 600; }
.text-high { color: var(--success); font-weight: 600; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
