/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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 ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: dark;
  --bg: #0b0611;
  --surface: #14051f;
  --surface-2: #1c0a2a;
  --border: #3d214f;
  --accent: #b44dff;
  --text: #f5edff;
  --muted: #cdb8ea;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #1a0330;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
}

.app-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.app-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 28px 20px;
  border-right: 1px solid rgba(180, 77, 255, 0.12);
  background: rgba(9, 4, 15, 0.92);
}

.brand-block {
  margin-bottom: 28px;
}

.brand-title {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.brand-copy {
  color: var(--muted);
  line-height: 1.6;
}

.sidebar-nav {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.nav-link,
.nav-card {
  text-decoration: none;
}

.nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(180, 77, 255, 0.14);
  background: rgba(28, 10, 42, 0.6);
  color: var(--text);
  transition: 0.2s ease;
}

.nav-link:hover {
  border-color: rgba(180, 77, 255, 0.35);
  background: rgba(44, 16, 65, 0.85);
}

.app-content {
  width: min(1300px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.page-header {
  margin-bottom: 24px;
}

.page-header p {
  color: var(--muted);
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.landing-page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.landing-page-shell .tools-section {
  width: 100%;
  margin-top: 0;
}

.hero-card,
.tool-card {
  border: 1px solid var(--border);
  background: rgba(20, 5, 31, 0.92);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.hero-card {
  border-radius: 28px;
  padding: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.hero-copy,
.section-heading p,
.tool-card p {
  color: var(--muted);
  line-height: 1.6;
}

.status-grid,
.tool-grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.status-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 28px;
}

.status-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid rgba(180, 77, 255, 0.25);
}

.status-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.tools-section {
  margin-top: 32px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.top-nav-item {
  border: 1px solid rgba(180, 77, 255, 0.22);
  background: rgba(28, 10, 42, 0.8);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.top-nav-item.active {
  border-color: rgba(180, 77, 255, 0.55);
  background: linear-gradient(135deg, rgba(180, 77, 255, 0.95), rgba(102, 43, 145, 0.95));
}

.landing-card {
  text-align: center;
}

.bambam-logo {
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
  display: block;
}

.landing-shell {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.landing-title {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
}

.landing-version {
  margin: 0;
  font-weight: 700;
  font-size: 1.5rem;
}

.landing-product {
  margin: 12px 0 38px;
  font-size: 1.35rem;
  color: #ffffff;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.landing-tool-button {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #ffffff;
  padding: 12px 18px;
  min-width: 138px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.landing-tool-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.section-heading {
  margin-bottom: 18px;
}

.compact-heading {
  margin-bottom: 14px;
}

.tool-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.overview-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.tool-card {
  border-radius: 22px;
  padding: 22px;
}

.feature-card {
  margin-bottom: 24px;
}

.workflow-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin: 16px 0 18px;
}

.dashboard-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(28, 10, 42, 0.92);
  color: var(--text);
  padding: 12px 14px;
}

.converter-form {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.field-group {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  color: var(--muted);
}

.field-group span {
  font-size: 14px;
  font-weight: 600;
}

.field-group input,
.field-group select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(28, 10, 42, 0.92);
  color: var(--text);
  padding: 12px 14px;
}

.checkbox-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.checkbox-group input {
  width: 18px;
  height: 18px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.trim-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(18, 8, 28, 0.8);
  padding: 14px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.trim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.trim-header h3 {
  margin: 0;
  font-size: 1rem;
}

.trim-preview {
  width: 100%;
  max-height: 280px;
  border-radius: 10px;
  border: 1px solid rgba(180, 77, 255, 0.24);
  background: #06030b;
}

.trim-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.dual-range-wrapper {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
}

.dual-range-base,
.dual-range-selected {
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 999px;
}

.dual-range-base {
  background: rgba(255, 255, 255, 0.18);
}

.dual-range-selected {
  right: auto;
  background: linear-gradient(90deg, #c85dff, #7f4dff);
}

.dual-range-input {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

.dual-range-input::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.dual-range-input::-moz-range-track {
  height: 6px;
  background: transparent;
}

.dual-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #4d1b72;
  cursor: pointer;
  pointer-events: auto;
  margin-top: -5px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.28);
}

.dual-range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #4d1b72;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.28);
}

.dual-range-input-start {
  z-index: 3;
}

.dual-range-input-end {
  z-index: 4;
}

.dual-range-input-start::-webkit-slider-thumb {
  background: #ff8a00;
  border-color: #ffd39a;
}

.dual-range-input-start::-moz-range-thumb {
  background: #ff8a00;
  border-color: #ffd39a;
}

.dual-range-input-end::-webkit-slider-thumb {
  background: #2f7bff;
  border-color: #b7d3ff;
}

.dual-range-input-end::-moz-range-thumb {
  background: #2f7bff;
  border-color: #b7d3ff;
}

.trim-value-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.trim-manual-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.trim-manual-field {
  margin: 0;
}

.jobs-table-wrap {
  overflow-x: auto;
}

.jobs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.jobs-table th,
.jobs-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(180, 77, 255, 0.14);
  vertical-align: top;
}

.jobs-table th {
  color: var(--muted);
  font-weight: 700;
}

.jobs-table tbody tr {
  cursor: pointer;
}

.jobs-table tbody tr:hover,
.selected-row {
  background: rgba(180, 77, 255, 0.08);
}

.jobs-table small {
  display: block;
  color: #a990c4;
  margin-top: 4px;
}

.job-detail-card {
  margin-top: 18px;
}

.file-input {
  padding: 10px 12px;
}

.primary-button {
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid rgba(180, 77, 255, 0.4);
  background: linear-gradient(135deg, rgba(180, 77, 255, 0.95), rgba(102, 43, 145, 0.95));
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.inline-button {
  display: inline-flex;
  margin-top: 12px;
}

.selection-hint {
  margin-top: 16px;
  color: var(--muted);
}

.error-text {
  margin-top: 14px;
  color: #ff9ea8;
}

.result-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid rgba(180, 77, 255, 0.22);
}

.tool-card h3 {
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(180, 77, 255, 0.14);
  border: 1px solid rgba(180, 77, 255, 0.32);
  color: #e8d1ff;
  font-size: 13px;
  font-weight: 600;
}

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

  .app-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(180, 77, 255, 0.12);
  }

  .app-content {
    width: min(100%, calc(100% - 20px));
    padding-top: 20px;
  }

  .page-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 24px;
  }

  .dashboard-filters {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .tool-card {
    padding: 20px;
    border-radius: 20px;
  }
}

