/* GLOBAL STYLES FOR DYNAMIC RATER APP */

html, body {
            height: 100%;
        }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1;
}

.yellow_box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 5px;
    color: #664d03;
}

button {
    padding: 10px 20px;
}

a {
    color: #325d88;
}

/* HOME PAGE LEARN MORE SECTION */
  .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background-color: #e7f1ff;
    color: #0d6efd;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 0.75rem;
    flex-shrink: 0;
  }

.flow-container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      padding: 40px 20px;
      overflow-x: auto;
    }

    .flow-box {
      width: 180px;
      min-height: 100px;
      padding: 20px;
      border: 2px solid #0d6efd;
      border-radius: 16px;
      background-color: #f8fbff;
      color: #212529;
      text-align: center;
      font-weight: 500;
      flex-shrink: 0;
      position: relative;
    }
    .flow-box-optional {
        border-color: #78797a
    }
    /* Repeating arrow */
    .repeat-arrow {
        position: absolute;
        top: -33px;
        right: -27px;
        font-size: 3rem;
        color: #0d6efd;
        line-height: 1;
        border-radius: 50%;
        transform: rotate(200deg);
    }

    .flow-arrow {
      font-size: 2rem;
      color: #6c757d;
      margin: 0 5px;
      flex-shrink: 0;
    }

    @media (max-width: 992px) {
      .flow-container {
        justify-content: flex-start;
      }
    }

    /* Compact cards in the "Generated Outputs" section */
.generated-output-cards .card {
    flex: 0 0 165px; 
}

.generated-output-cards .card .card-body {
    padding: 0.5rem;
}

.generated-output-cards .card i {
    font-size: 3rem !important;
}

.generated-output-cards .card p {
    font-size: 0.9rem;
    line-height: 1.2;
}
/* --------- */

.experiment-card {
    transition: all .2s ease;
    border-radius: 14px;
}

.experiment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.12) !important;
}

.card {
    border-radius: 14px;
    margin-bottom: 20px;
}

.card-title {
    color: #212529;
}

.badge-draft {
    background: #fff3cd;
    color: #8a6d3b;
}

.badge-active {
    background: #d1e7dd;
    color: #146c43;
}

.badge-completed {
    background: #e2e3e5;
    color: #495057;
}

.badge-expired {
    background: #f8d7da;
    color: #842029;
}

/* Dashboard Page Styles */

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

.log-entry {
    font-family: monospace;
    font-size: 0.9em;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.log-container {
    max-height: 400px;
    overflow-y: auto;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #0066cc;
}


/* LINE CHART RENDERING */
.line-chart {
    width: 100%;
    background: transparent;
}

.config-group {
    height: 100%;
    padding-top: 0.25rem;
}

.config-group-title {
    height: 1.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 0.25rem;
    margin-bottom: 0.65rem;
}

.config-control {
    min-height: 38px;
}

.config-control .form-check {
    margin-bottom: 0;
}
/* ---------- */


.log-container table tbody tr,
.log-container table tbody td {
    background-color: transparent !important;
}
.log-container {
    max-height: 400px;
    overflow-y: auto;
}

.log-container thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}