/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* -------------------------------------------------------
   AMS Global Stylesheet (Pure CSS Version)
   Restored for Dev Dashboard, Dev Chat, Layout, Console,
   PM2 Table, Health Panel, Tabs, and Buttons
--------------------------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  color: #111;
}

/* Layout Wrapper */
.ams-container {
  padding: 20px;
}

/* Header */
.ams-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Tabs */
.ams-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.ams-tab {
  padding: 8px 14px;
  border: 1px solid #999;
  border-radius: 6px;
  background: #eee;
  cursor: pointer;
  font-size: 14px;
}

.ams-tab.active {
  background: #d0d0d0;
  border-color: #666;
  font-weight: bold;
}

/* Status Grid */
.status-grid {
  display: grid;
  grid-template-columns: 200px 200px 200px;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 20px;
}

.status-box {
  padding: 10px;
  border-radius: 8px;
  background: white;
  border: 1px solid #ccc;
}

.status-title {
  font-weight: bold;
  margin-bottom: 6px;
}

.status-online {
  color: green;
  font-weight: bold;
}

.status-offline {
  color: red;
  font-weight: bold;
}

/* PM2 Section */
.pm2-section {
  margin-top: 25px;
}

.pm2-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.pm2-table {
  width: 100%;
  border-collapse: collapse;
}

.pm2-table th, .pm2-table td {
  border: 1px solid #ccc;
  padding: 8px;
}

.pm2-table th {
  background: #e0e0e0;
}

/* Console Panel */
.console-wrapper {
  background: black;
  color: white;
  padding: 10px;
  height: 400px;
  overflow-y: scroll;
  border-radius: 6px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  border: 2px solid #444;
}

.console-line {
  white-space: pre;
}

.console-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.console-input {
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #888;
}

/* Buttons */
.btn {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #666;
  cursor: pointer;
  background: #e2e2e2;
}

.btn:hover {
  background: #d0d0d0;
}

/* Loading Text */
.loading-text {
  font-style: italic;
  color: #666;
}

/*!*********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/ams.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************/
/* app/ams.css */
/* --------------------------------------------------
   AMS Global Layout + Admin Shell + Basic Components
   -------------------------------------------------- */

/* Base body styling */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #0f172a; /* dark slate background */
  color: #111827;
}

/* Root app container if needed */
.ams-root {
  min-height: 100vh;
}

/* ================================
   ADMIN LAYOUT
   ================================ */

.ams-admin-body {
  min-height: 100vh;
  padding: 16px;
  box-sizing: border-box;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
  color: #111827;
}

.ams-admin-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
}

/* Sidebar */
.ams-admin-sidebar {
  width: 240px;
  background: #020617;
  color: #e5e7eb;
  padding: 20px 18px;
  box-sizing: border-box;
}

.ams-admin-sidebar h2 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 700;
  color: #f9fafb;
}

.ams-admin-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ams-admin-sidebar li {
  margin-bottom: 10px;
}

.ams-admin-sidebar a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  color: #e5e7eb;
  transition: background 0.15s ease, color 0.15s ease;
}

.ams-admin-sidebar a:hover {
  background: #111827;
  color: #ffffff;
}

/* We can later add an active link class if needed */
.ams-admin-sidebar a.ams-nav-active {
  background: #2563eb;
  color: #ffffff;
}

/* ================================
   ADMIN MAIN AREA
   ================================ */

.ams-admin-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Top bar (for theme toggle, status, etc.) */
.ams-admin-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* Content wrapper */
.ams-admin-content {
  padding: 20px;
  background: #f3f4f6;
  flex: 1 1;
  box-sizing: border-box;
}

/* ================================
   CARDS
   ================================ */

.ams-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.ams-card h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

/* ================================
   BUTTONS
   ================================ */

.ams-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.ams-btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.ams-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1e40af;
}

/* ================================
   FORM CONTROLS
   ================================ */

.ams-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  box-sizing: border-box;
  font-size: 14px;
}

/* ================================
   DEV CHAT SPECIFIC
   ================================ */

.ams-devchat-header {
  margin-bottom: 8px;
  font-size: 15px;
  color: #4b5563;
}

.ams-devchat-lastupdate {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

