/* OLA Pose - Specific Styles */

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.field-item {
    display: flex;
    flex-direction: column;
}

.field-item label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
    font-size: 0.9em;
}

.field-item input,
.field-item select {
    padding: 8px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.85em;
}

.btn-small-icon {
    padding: 4px 8px;
}

.table-container {
    margin-top: 15px;
    background: #fff;
    border-radius: 4px;
}

.ola-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.ola-table th,
.ola-table td {
    padding: 10px;
    border: 1px solid #ecf0f1;
    text-align: center;
}

.ola-table th {
    background-color: #f8f9fa;
    color: #34495e;
}

.table-compact th,
.table-compact td {
    padding: 4px 6px;
    font-size: 0.85em;
}

/* Zebra Striping for Columns to help eye tracking */
.table-compact th:nth-child(even),
.table-compact td:nth-child(even) {
    background-color: #fcfcfc;
}

.table-compact th:nth-child(odd):not(:first-child):not(:nth-child(2)):not(:nth-child(3)),
.table-compact td:nth-child(odd):not(:first-child):not(:nth-child(2)):not(:nth-child(3)) {
    background-color: #f7fbfe;
}

.results-summary {
    background: #e1f5fe;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #01579b;
}

.param-val {
    background-color: #ebf5fb;
    font-weight: bold;
    color: #2980b9;
}

.span-label {
    text-align: left;
    font-weight: bold;
    background-color: #fdfefe;
    font-size: 0.95em;
}

.span-label small {
    display: block;
    font-weight: normal;
    font-size: 0.85em;
    color: #95a5a6;
    /* Lighter gray for metadata */
    margin-top: 2px;
}

.f-type {
    font-weight: bold;
    color: #7f8c8d;
    background-color: #fdfefe;
}

.f-sub {
    font-weight: bold;
    color: #2c3e50;
}

.scrollable-x {
    overflow-x: auto;
}

.actions-area {
    margin-top: 30px;
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Icons */
.fas {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .input-grid {
        grid-template-columns: 1fr;
    }

    .table-compact th,
    .table-compact td {
        min-width: 40px;
    }
}