/* Thermodynamics UI Styles */
.thermodynamics-controls-compact {
    background: rgba(22, 29, 39, 0.95);
    border-top: 1px solid #2a3f5f;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    animation: slideUp 0.3s ease-out;
}

.thermodynamics-compact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.thermodynamics-compact-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.thermodynamics-compact-group label {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.thermodynamics-compact-input {
    background: #0f1419;
    border: 1px solid #2a3f5f;
    color: #e6ecf5;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 80px;
    transition: all 0.2s;
}

.thermodynamics-compact-input:focus {
    border-color: #7f5dff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(127, 93, 255, 0.2);
}

.thermodynamics-compact-select {
    background: #0f1419;
    border: 1px solid #2a3f5f;
    color: #e6ecf5;
    padding: 6px 24px 6px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    min-width: 120px;
}

.thermodynamics-compact-btn {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.thermodynamics-compact-btn.primary-btn {
    background: linear-gradient(135deg, #ff7a7a 0%, #ff4b4b 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(255, 75, 75, 0.2);
}

.thermodynamics-compact-btn.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 75, 75, 0.3);
}

.thermodynamics-compact-btn.clear-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid #2a3f5f;
}

.thermodynamics-compact-btn.clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e6ecf5;
}

.thermodynamics-compact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 8px;
    border-top: 1px solid rgba(42, 63, 95, 0.5);
    margin-top: 4px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.thermodynamics-compact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
