/* Minimal custom styles - ChakraUI handles most styling */

/* Landing page container - full width */
.landing-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.mfe-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    font-size: 0.85rem;
}

.mfe-toolbar-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 1rem;
    background: #212529;
    color: #ffffffcc;
    cursor: pointer;
    user-select: none;
    border: none;
    width: 100%;
    text-align: left;
}

.mfe-toolbar-toggle:hover {
    background: #2c3034;
}

.mfe-toolbar-toggle .mfe-summary-badges {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.mfe-toolbar-panel {
    max-height: 0;
    overflow: hidden;
    background: #2c3034;
    transition: max-height 0.3s ease;
}

.mfe-toolbar-panel.open {
    max-height: 400px;
    overflow-y: auto;
}

.mfe-toolbar-panel-inner {
    padding: 0.75rem 1rem;
}

.mfe-module-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #3c4043;
    color: #ffffffcc;
}

.mfe-module-row:last-child {
    border-bottom: none;
}

.mfe-module-name {
    font-weight: 600;
    min-width: 120px;
}

.mfe-module-version {
    font-family: monospace;
    color: #ffffffaa;
    min-width: 140px;
}

.mfe-module-time {
    color: #ffffff88;
    min-width: 100px;
}

.mfe-module-status {
    min-width: 70px;
    text-align: center;
}

.mfe-module-actions {
    min-width: 90px;
    text-align: right;
}

.mfe-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
}

.mfe-status-dot.idle { background: #6c757d; }
.mfe-status-dot.loading { background: #ffc107; animation: mfe-pulse 1s infinite; }
.mfe-status-dot.loaded { background: #198754; }
.mfe-status-dot.error { background: #dc3545; }

@keyframes mfe-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.mfe-reload-btn {
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    border: 1px solid #6c757d;
    border-radius: 4px;
    background: transparent;
    color: #ffffffcc;
    cursor: pointer;
    transition: background 0.15s;
}

.mfe-reload-btn:hover {
    background: #495057;
}

.mfe-reload-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mfe-reload-all-btn {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    border: 1px solid #0d6efd;
    border-radius: 4px;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.mfe-reload-all-btn:hover {
    background: #0b5ed7;
}

.mfe-reload-all-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mfe-toolbar-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.5rem;
    border-top: 1px solid #3c4043;
    margin-top: 0.25rem;
}

.mfe-error-text {
    color: #dc3545;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}
:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light;
  color: #213547;
  background-color: #ffffff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: #ffffff;
}

#root {
  width: 100%;
}

.landing-container {
  width: 100%;
  margin: 0;
  padding: 0;
}
