/* PBPK Model Simulation - CSS */

#pkiContainer {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
    font-family: 'Courier New', monospace;
}

.control-panel {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.control-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
}

.control-row:last-child {
    margin-bottom: 0;
}

.control-row label {
    min-width: auto;
    font-size: 11px;
    color: #555;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    margin-right: 2px;
    flex-shrink: 0;
}

.control-row input[type="number"],
.control-row input[type="range"],
.control-row select {
    flex: 1 1 auto;
    min-width: 60px;
    max-width: 100px;
    padding: 5px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.control-row span {
    min-width: 40px;
    flex-shrink: 0;
    font-size: 11px;
    color: #555;
    font-family: 'Courier New', monospace;
}

.control-row input[type="range"] {
    height: 6px;
    -webkit-appearance: none;
    background: #ddd;
}

.time-slider-row input[type="range"] {
    flex: 1;
    min-width: 0;
    max-width: none;
}

.control-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}

.control-row input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.btn {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    transition: background-color 0.2s;
    min-width: 80px;
}

.btn:hover:not(:disabled) {
    background-color: #45a049;
}

.btn-danger {
    background-color: #f44336;
}

.btn-danger:hover:not(:disabled) {
    background-color: #da190b;
}

.info-display {
    padding: 8px 12px;
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #1976d2;
    margin-left: auto;
}

.simulation-area {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.simulation-title {
    color: #2e7d32;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.pki-canvas {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fafafa;
    display: block;
}

