@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=delete");.App {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
  margin: 0 auto;
}

.standalone-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding: 0;
  margin: 0;
}

.app-header {
  text-align: center;
  margin-bottom: 2rem;
}

.app-header h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.nav-link {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(10px);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.nav-link:active {
  transform: translateY(0);
}

.content {
  min-height: 400px;
}

.app-footer {
  text-align: center;
  margin-top: 3rem;
}

.tech-stack {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .app-header h1 {
    font-size: 2rem;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-link {
    width: 200px;
    text-align: center;
  }
}
/* PROSTEP Design System - Official OpenPDM Theme */
/* Based on calypso.psad.de/site/product/prostep/shared/prostep-design-system */

:root {
  /* Primary colors */
  --ps-primary-10: #EBF5FF;
  --ps-primary-50: #D0E3F8;
  --ps-primary-100: #AFCFF4;
  --ps-primary-200: #82B7F3;
  --ps-primary-300: #68A6EA;
  --ps-primary-400: #3482D3;
  --ps-primary-500: #005DB4;
  --ps-primary-600: #004FA7;
  --ps-primary-700: #00439A;
  --ps-primary-800: #002778;

  /* Fallback foreground / semantic colors (small sensible defaults) */
  --ps-foreground-0: #ffffff;
  --ps-foreground-10: #fbfcfd;
  --ps-foreground-50: #f7f9fa;
  --ps-foreground-100: #e9eef3;
  --ps-foreground-200: #dfe7ee;
  --ps-foreground-300: #c6d6e6;
  --ps-foreground-600: #6b7680;
  --ps-foreground-700: #39444a;
  --ps-foreground-900: #0f1720;
  --ps-success-200: #1aa35a;

}

html{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
body{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
body > div{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
body > div > div{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
body > div > div > div{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Split layout: left (table+button), right (iframe) */
.prostep-split-container {
  display: flex;
  height: 100%;
  width: 100%;
  background: var(--ps-foreground-50);
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
}

.prostep-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0.5em;
  padding-top: 2em;
  background: var(--ps-foreground-0);
  box-shadow: 2px 0 8px 0 rgba(227,234,243,0.8);
  min-width: 200px;
  max-width: 75%;
  justify-content: flex-start;
  box-sizing: border-box;
}
  .btn {
    background: #1a355e;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
  }
  .btn:disabled {
    background: #b0b8c1;
    cursor: not-allowed;
  }

.prostep-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 0.5em;
  width:100%;
  height:100%;
  background: var(--ps-foreground-50);
  box-sizing: border-box;
}
.prostep-iframe {
  width: 100%;
  height: 100%;
  border: 2px solid var(--ps-primary-400);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
  border-radius: 6px;
  background: var(--ps-foreground-0);
  display: block;
  box-sizing: border-box;
}

/* Vertical resizer between panes */
.prostep-resizer {
  width: 8px;
  cursor: col-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.prostep-resizer::after {
  content: '';
  width: 2px;
  height: 36px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.color-affirmative:enabled {
  background-color: #6da92f;
}

.contentWindow{
  height: 100%;
  width: 100%;
}

.tabbar{
  height: fit-content;
  width: 100%;
  border-bottom: 2px solid var(--ps-primary-400);
}

/* Tab button styles */
.tabrow {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tab {
  flex: 1 1 0;
  appearance: none;
  background: transparent;
  border: 1px solid var(--ps-primary-100);
  border-bottom: 2px solid transparent;
  padding: 8px 12px;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  color: var(--ps-primary-300);
  font-weight: 600;
  transition: background 0.12s, color 0.12s, box-shadow 0.12s, border-color 0.12s;
}

.tab:hover {
  background: var(--ps-primary-10);
}

.tab:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(52,130,211,0.08);
}

.tab.active {
  background: var(--ps-foreground-0);
  border-color: var(--ps-primary-200);
  border-bottom-color: var(--ps-foreground-0);
  color: var(--ps-primary-700);
  box-shadow: 0 2px 8px rgba(16,24,40,0.06);
}

/* AG Grid overrides */
 .ag-layout-auto-height,
    .ag-layout-print {
        .ag-center-cols-viewport,
        .ag-center-cols-container {
            min-height: 1.8em;
        }
    }

 .contentWindow .ag-layout-auto-height,
    .ag-layout-print {
        .ag-center-cols-viewport,
        .ag-center-cols-container {
            min-height: 15em;
        }
    }
.prostep-left .ag-root-wrapper .editable {
  background-color: var(--ps-primary-50);
}.build-info-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: var(--ps-foreground-100, #e9eef3);
  border-top: 1px solid var(--ps-foreground-300, #c6d6e6);
  color: var(--ps-foreground-600, #6b7680);
  font-size: 0.68rem;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0 0.75rem;
  z-index: 9999;
  letter-spacing: 0.02em;
}

.build-info-separator {
  opacity: 0.35;
}

.invisible {
  color: var(--ps-foreground-100, #e9eef3);
}

.build-info-left {
  display: flex;
  align-items: center;
  padding-top: 0.3rem;
}

.brand-logo,
.build-logo {
  height: 1rem;
  width: auto;
  display: block;
  pointer-events: none; /* allow the wrapper link to get clicks */
}

.brand-logo svg,
.build-logo svg {
  height: 100%;
  width: auto;
  display: block;
}

.brand-logo svg #sub-text,
.build-logo svg #sub-text {
  display: none;
}

.brand-info-link,
.build-logo-link {
  pointer-events: auto; /* override footer's pointer-events:none */
  display: inline-block;
  text-decoration: none;
}

.build-info-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}


#root {
  height: 100vh;
  overflow-y: auto;
  margin: 0;
}

body {
  background: #f3f4f6;
}

.page-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 220px;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.open-button {
    padding: 12px 24px;
    background-color: #1E4C97;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;

    transition: all 0.2s ease;
}

.open-button:hover {
    background-color: #163b75;
}

.open-button:active {
    transform: scale(0.97);
    background-color: #0f2a52;
}

.clear-parameters-button {
    padding: 12px 24px;
    background-color: rgb(183, 11, 52);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-parameters-button:hover:not(:disabled) {
    background-color: rgb(155, 9, 44);
}

.clear-parameters-button:active:not(:disabled) {
    transform: scale(0.97);
    background-color: rgb(128, 8, 36);
}

.clear-parameters-button:disabled {
    background-color: #d5d7da;
    color: #6c737f;
    cursor: not-allowed;
}



.plugin-page-content {
    flex: 1;
    width: 95%;
    max-width: 1600px;
    margin: 30px auto;
}

.plugin-table {
    width: 100%;
    margin-bottom: 24px;
}

.selection-info {
    margin-top: 12px;
    font-size: 16px;
}

.ag-theme-alpine .ag-row-selected {
    background-color: #dbeafe !important;
}

.ag-theme-alpine .ag-cell.coverage-editable-cell {
    background-color: #eef6ff;
}

.ag-theme-alpine .ag-cell.coverage-editable-cell.ag-cell-focus {
    background-color: #dcecff;
}




.assign-button-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.assign-button {
    padding: 12px 24px;
    background-color: #1e972e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;

    transition: all 0.2s ease;
}

.assign-button:hover {
    background-color: #1a8128;
}

.assign-button:active {
    transform: scale(0.97);
    background-color: rgb(22, 109, 34);
}



.debug-console {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    background: #fff;
    color: #111;
    font-family: monospace;
    font-size: 12px;
    padding: 6px;
    z-index: 99999;
    max-height: 150px;
    overflow-y: auto;
    border-top: 1px solid #ccc;
}

.recently-used-delete-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.recently-used-clear-button {
    font-size: 0.75em;
    padding: 1px 4px;
    cursor: pointer;
    background: transparent;
    border: 1px solid #c00;
    color: #c00;
    border-radius: 3px;
}

.recently-used-clear-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.recently-used-delete-button:hover {
    background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
    transform: translateY(-1px);
}

.recently-used-delete-button:active {
    transform: translateY(0);
}

.recently-used-delete-button:focus-visible {
    outline: 2px solid #fecaca;
    outline-offset: 2px;
}

.recently-used-delete-icon {
    font-family: "Material Symbols Outlined";
    font-size: 18px;
    line-height: 1;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}/* PluginHeader.css */
.header {
  background: #1E4C97;
  padding: 10px;
}

.logo {
  height: 40px;
}* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}
